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.136 -- Release Build+045677775a56d15698be6ced5ce5213063e47102
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