MeasurementKeyTryCreateOrUpdate(Guid, String, MeasurementKey) Method

Constructs a new MeasurementKey given the specified parameters.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.158 -- Release Build+742760b9fc81f0ff99a22d1d8a726573e73efb7e
public static bool TryCreateOrUpdate(
	Guid signalID,
	string value,
	out MeasurementKey key
)

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

ArgumentExceptionsignalID cannot be empty.
ArgumentNullExceptionMeasurement key Source cannot be null.

See Also