wclMessageBroadcasterWait(WaitHandle, UInt32) Method |
Waits until one or all of the specified objects are in the
signaled state or the time-out interval elapses.
Namespace: wclCommonAssembly: wclCommon (in wclCommon.dll) Version: 7.11.10.0 (7.11.10.0)
Syntax public static int Wait(
WaitHandle[] Events,
out uint Index
)
Public Shared Function Wait (
Events As WaitHandle(),
<OutAttribute> ByRef Index As UInteger
) As Integer
public:
static int Wait(
array<WaitHandle^>^ Events,
[OutAttribute] unsigned int% Index
)
Parameters
- Events WaitHandle
- An array of object handles. The maximum number of object
handles is 64.
- Index UInt32
- If the function completed with success on output
contains the index of the signaled object.
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