System::Threading::WaitHandle::WaitAll 메서드

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

모든 핸들이 발생할 때까지 대기합니다.

static bool System::Threading::WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles)
매개변수형식설명
waitHandlesconst System::ArrayPtr<System::SharedPtr<WaitHandle>>&대기할 핸들들.

ReturnValue

waitHandles의 모든 요소가 신호를 받았을 때 True; 그렇지 않으면 메서드는 절대 반환되지 않습니다.

또 보기

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

RTTI 정보.

static bool System::Threading::WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles, int millisecondsTimeout)
매개변수형식설명
waitHandlesconst System::ArrayPtr<System::SharedPtr<WaitHandle>>&대기할 핸들들.
millisecondsTimeoutintTimeout 대기 시간(밀리초); -1은 무한 대기, 0은 확인 후 반환, 양수 값은 제한 시간입니다.

ReturnValue

모든 핸들이 발생했으면 True, 제한 시간이 초과했으면 false.

비고

모든 핸들이 발생할 때까지 대기합니다.

또 보기

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

모든 핸들이 발생할 때까지 대기합니다.

static bool System::Threading::WaitHandle::WaitAll(const System::ArrayPtr<System::SharedPtr<WaitHandle>> &waitHandles, TimeSpan timeout)
매개변수형식설명
waitHandlesconst System::ArrayPtr<System::SharedPtr<WaitHandle>>&대기할 핸들들.
timeoutTimeSpan대기할 밀리초 수를 나타내는 System::TimeSpan 또는 무한히 대기하기 위해 -1밀리초를 나타내는 System::TimeSpan 입니다.

ReturnValue

모든 핸들이 발생했으면 True, 제한 시간이 초과했으면 false.

또 보기