Click or drag to resize

MeasurementKeyTryCreateOrUpdate(Guid, String, MeasurementKey) Method

Constructs a new MeasurementKey given the specified parameters.

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax
public static bool TryCreateOrUpdate(
	Guid signalID,
	string value,
	out MeasurementKey key
)
View Source

Parameters

signalID  Guid
Guid ID of associated signal, if defined.
value  String
A string representation of the MeasurementKey.
key  MeasurementKey
The measurement key that was created or updated or Undefined.

Return Value

Boolean
True if the measurement key was successfully created or updated, false otherwise.
Exceptions
ExceptionCondition
ArgumentExceptionsignalID cannot be empty.
ArgumentNullExceptionMeasurement key Source cannot be null.
See Also