Click or drag to resize

MeasurementKeyTryCreateOrUpdate(Guid, String, UInt64, MeasurementKey) Method

Constructs a new MeasurementKey given the specified parameters.

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.218-beta
Syntax
public static bool TryCreateOrUpdate(
	Guid signalID,
	string source,
	ulong id,
	out MeasurementKey key
)
View Source

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.
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
ExceptionCondition
ArgumentExceptionsignalID cannot be empty.
ArgumentNullExceptionsource cannot be null.
See Also