In The Hand - .NET Components for Mobility
WaitAny Method (waitHandles)
NamespacesInTheHand.ThreadingEventWaitHandleWaitAny(array<WaitHandle>[]()[])
Waits for any of the elements in the specified array to receive a signal.
Declaration Syntax
C#Visual Basic
public static int WaitAny(
	WaitHandle[] waitHandles
)
Public Shared Function WaitAny ( _
	waitHandles As WaitHandle() _
) As Integer
Parameters
waitHandles (array< WaitHandle >[]()[])
A WaitHandle array containing the objects for which the current instance will wait.
Return Value
The array index of the object that satisfied the wait.

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0