Click or drag to resize

MetadataHelpersWaitForSignalsToLoad Method

Waits for signalIDs to be loaded in system configuration.

Namespace: GSF.TimeSeries.Adapters
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.218-beta
Syntax
public static bool WaitForSignalsToLoad(
	this IAdapter instance,
	ManualResetEventSlim configurationReloadedWaitHandle,
	IReadOnlyList<Guid> signalIDs,
	int configurationReloadWaitTimeout = 5000,
	int configurationReloadWaitAttempts = 4,
	string measurementTable = "ActiveMeasurements"
)
View Source

Parameters

instance  IAdapter
Target IAdapter instance.
configurationReloadedWaitHandle  ManualResetEventSlim
Wait handle to signal when configuration has been reloaded.
signalIDs  IReadOnlyListGuid
Signal IDs to wait for.
configurationReloadWaitTimeout  Int32  (Optional)
Configuration reload wait timeout.
configurationReloadWaitAttempts  Int32  (Optional)
Configuration reload wait attempts.
measurementTable  String  (Optional)
Measurement table name used for meta-data lookup.

Return Value

Boolean
true if signalIDs are loaded; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAdapter. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also