RTWaitHandle WaitOne Method (Int32, Boolean) IntervalZero RTX Managed Code
When overridden in a derived class, blocks the current thread until the current OnlineWaitHandle receives a signal, using 32-bit signed integer to measure the time interval and specifying whether to exit the synchronization domain before the wait.

Namespace:  RTX.Threading
Assembly:  IntervalZero.RTX (in IntervalZero.RTX.dll) Version: 12.0.0.0 (12.0.0.0)

Syntax

public bool WaitOne(
	int millisecondsTimeout,
	bool exitContext
)

Parameters

millisecondsTimeout
Type: OnlineSystem Int32
The number of milliseconds to wait, or Threading.Timeout.Infinite (-1) to wait indefinitely.
exitContext
Type: OnlineSystem Boolean
Not Supported - Just pass false.

Return Value

Type: OnlineBoolean
true if the current instance receives a signal; otherwise, false.
See Also