Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WaitHandle.WaitAny Method

Waits for any of the elements in the specified array to receive a signal.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member WaitAny(WaitHandle[]) Waits for any of the elements in the specified array to receive a signal.
Public method Static member WaitAny(WaitHandle[], Int32) Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to specify the time interval.
Public method Static member WaitAny(WaitHandle[], TimeSpan) Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to specify the time interval.
Public method Static member WaitAny(WaitHandle[], Int32, Boolean) Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to specify the time interval, and specifying whether to exit the synchronization domain before the wait.
Public method Static member WaitAny(WaitHandle[], TimeSpan, Boolean) Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to specify the time interval and specifying whether to exit the synchronization domain before the wait.
Top
Show:
© 2014 Microsoft