System::Threading::WaitHandle::WaitAll method

WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&) method

Wacht tot alle handles afgevuurd zijn.

static bool System::Threading::WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles)
ParameterTypeBeschrijving
waitHandlesconst System::ArrayPtr<System::SharedPtr<WaitHandle>>&Handles om op te wachten.

ReturnValue

Waar wanneer elk element in waitHandles een signaal heeft ontvangen; anders keert de methode nooit terug.

Zie ook

WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&, int) method

RTTI-informatie.

static bool System::Threading::WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles, int millisecondsTimeout)
ParameterTypeBeschrijving
waitHandlesconst System::ArrayPtr<System::SharedPtr<WaitHandle>>&Handles om op te wachten.
millisecondsTimeoutintTimeout om op te wachten, in milliseconden; -1 betekent oneindig wachten, 0 betekent controleer-en-keer-terug, positieve waarden zijn time-outs.

ReturnValue

Waar als alle handles afgevuurd zijn, onwaar als time-out overschreden.

Opmerkingen

Wacht tot alle handles afgevuurd zijn.

Zie ook

WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>>&, TimeSpan) method

Wacht tot alle handles afgevuurd zijn.

static bool System::Threading::WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles, TimeSpan timeout)
ParameterTypeBeschrijving
waitHandlesconst System::ArrayPtr<System::SharedPtr<WaitHandle>>&Handles om op te wachten.
timeoutTimeSpanEen System::TimeSpan die het aantal milliseconden om te wachten weergeeft, of een System::TimeSpan die -1 milliseconden weergeeft om onbeperkt te wachten.

ReturnValue

Waar als alle handles afgevuurd zijn, onwaar als time-out overschreden.

Zie ook