|
MeasurementKeyTryCreateOrUpdate(Guid, String, UInt64, MeasurementKey) Method
|
Namespace: GSF.TimeSeriesAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.248-beta
Syntaxpublic static bool TryCreateOrUpdate(
Guid signalID,
string source,
ulong id,
out MeasurementKey key
)
Public Shared Function TryCreateOrUpdate (
signalID As Guid,
source As String,
id As ULong,
<OutAttribute> ByRef key As MeasurementKey
) As Boolean
public:
static bool TryCreateOrUpdate(
Guid signalID,
String^ source,
unsigned long long id,
[OutAttribute] MeasurementKey^% key
)
static member TryCreateOrUpdate :
signalID : Guid *
source : string *
id : uint64 *
key : MeasurementKey byref -> bool
GSF.TimeSeries.MeasurementKey.TryCreateOrUpdate = function(signalID, source, id, key);
View SourceParameters
- 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
BooleanTrue if the measurement key was successfully created or updated, false otherwise.
ExceptionsException | Condition |
---|
ArgumentException | signalID cannot be empty. |
ArgumentNullException | source cannot be null. |
See Also