WaitHandle.WaitAny Method (WaitHandle[])
Waits for any of the elements in the specified array to receive a signal.
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Syntax
public static int WaitAny (
WaitHandle[] waitHandles
)
Parameters
- waitHandles
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.
Version Information
Available in the .NET Micro Framework version 4.1.
See Also
Reference
WaitHandle Class
WaitHandle Members
System.Threading Namespace