MeasurementKeyCreateOrUpdate(Guid, String) Method

Constructs a new MeasurementKey given the specified parameters.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.138 -- Release Build+b4f8847fe309a44734617722bca179874d85b46d
public static MeasurementKey CreateOrUpdate(
	Guid signalID,
	string value
)

Parameters

signalID  Guid
Guid ID of associated signal, if defined.
value  String
A string representation of the MeasurementKey.

Return Value

MeasurementKey
A MeasurementKey object constructed from the specified parameters.

Exceptions

ArgumentExceptionsignalID cannot be empty
FormatExceptionThe value is not in the correct format for a MeasurementKey value.

See Also