MeasurementKeyCreateOrUpdate(Guid, String, UInt64) Method

Constructs a new MeasurementKey given the specified parameters.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.185 -- Release Build+b7b682b8945c85d4c7ddac3930abbcf9acc6e104
public static MeasurementKey CreateOrUpdate(
	Guid signalID,
	string source,
	ulong id
)

Parameters

signalID  Guid
Guid ID of associated signal, if defined.
source  String
Source of the measurement that this MeasurementKey represents (e.g., name of archive).
id  UInt64
Numeric ID of the measurement that this MeasurementKey represents.

Return Value

MeasurementKey
A MeasurementKey object constructed from the specified parameters.

Exceptions

ArgumentExceptionsignalID cannot be empty.
ArgumentNullExceptionsource cannot be null.

See Also