Click or drag to resize

wclMessageBroadcasterWait(WaitHandle, UInt32) Method

Waits until the specified event is in the signaled state or the time-out interval elapses.

Namespace: wclCommon
Assembly: wclCommon (in wclCommon.dll) Version: 7.11.10.0 (7.11.10.0)
Syntax
public static int Wait(
	WaitHandle Event,
	uint Timeout
)

Parameters

Event  WaitHandle
A handle to the event.
Timeout  UInt32
The time-out interval, in milliseconds. If a nonzero value is specified, the function waits until the event is signaled or the interval elapses. If Timeout is zero, the function does not enter a wait state if the event is not signaled; it always returns immediately. If Timeout is INFINITE, the function will return only when the event is signaled.

Return Value

Int32
If the function succeed the returns value is WCL_E_SUCCESS. Otherwise the function returns one of the WCL error codes.
See Also