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.178 -- Release Build+52bde36e42c7b2f52d1e2cc6bb29e593f446f07c
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