[To be supplied.]
[Visual Basic] Overloads Public Shared Function WaitAll( _ ByVal waitHandles() As WaitHandle _ ) As Boolean [C#] public static bool WaitAll( WaitHandle[] waitHandles ); [C++] public: static bool WaitAll( WaitHandle* waitHandles[] ); [JScript] public static function WaitAll( waitHandles : WaitHandle[] ) : Boolean;
Exception Type | Condition |
---|---|
ArgumentNullException | If any of the objects in the waitHandles array are either a null reference (in Visual Basic Nothing) or are duplicate. |
Returns when the wait terminates, which means either when all the handles are signaled or when time-out occurrs. On some implementations if more than 64 handles are passed a NotSupportedException is thrown. If there are duplicates in the array, the call will fail.
WaitHandle Class | WaitHandle Members | System.Threading Namespace | WaitHandle.WaitAll Overload List