WaitHandle.WaitAny Method

Updated: July 2008

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.

  NameDescription
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

Date

History

Reason

July 2008

Added new overloads: WaitAny(WaitHandle[], Int32) and WaitAny(WaitHandle[], TimeSpan).

.NET Framework 3.5 SP1 feature change.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft