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 メソッドによって呼び出されます。

適用対象