RTWaitHandle WaitOne Method (TimeSpan, Boolean) IntervalZero RTX Managed Code
Blocks the current thread until the current System.Threading.WaitHandle receives a signal.

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

Syntax

public bool WaitOne(
	TimeSpan timeout,
	bool exitContext
)

Parameters

timeout
Type: OnlineSystem TimeSpan
The number of milliseconds to wait, or System.Threading.Timeout.Infinite (-1) to wait indefinitely.
exitContext
Type: OnlineSystem Boolean
Unused parameter

Return Value

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