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.147 -- Release Build+281cd9d48f79fa48c22e33d1c46c4d7bdd95f1cf
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