SynchronizationContext.WaitHelper(IntPtr[], Boolean, Int32) 메서드

정의

중요

이 API는 CLS 규격이 아닙니다.

CLS 대체 규격
System.Threading.WaitHandle.WaitAll(WaitHandle[], TimeSpan, Boolean)

지정된 배열의 임의 또는 모든 요소가 신호를 받기를 기다리는 도우미 함수입니다.

protected:
 static int WaitHelper(cli::array <IntPtr> ^ waitHandles, bool waitAll, int millisecondsTimeout);
[System.CLSCompliant(false)]
protected static int WaitHelper (IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
protected static int WaitHelper (IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout);
[<System.CLSCompliant(false)>]
static member WaitHelper : nativeint[] * bool * int -> int
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
static member WaitHelper : nativeint[] * bool * int -> int
Protected Shared Function WaitHelper (waitHandles As IntPtr(), waitAll As Boolean, millisecondsTimeout As Integer) As Integer

매개 변수

waitHandles

IntPtr[]

nativeint[]

네이티브 운영 체제 핸들을 포함하는 IntPtr 유형의 배열입니다.

waitAll
Boolean

모든 핸들을 대기하려면 true이고, 임의 핸들을 대기하려면 false입니다.

millisecondsTimeout
Int32

대기할 시간(밀리초)이거나, 무기한 대기할 경우 Infinite(-1)입니다.

반환

대기를 만족한 개체의 배열 인덱스입니다.

특성

설명

WaitHelper 는 관리되지 않는 외부 도우미 함수에 대한 선언입니다. WaitHelper 지정된 운영 체제 핸들에 Wait 대한 신호를 기다리기 위해 메서드에 의해 호출됩니다.

적용 대상