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.183 -- Release Build+21a5b147e1a8ef7d91dda1e36ec19dae85df8dc9
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