DispatcherSynchronizationContext.Wait(IntPtr[], Boolean, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Waits for any or all the elements in the specified array to receive a signal.
public:
override int Wait(cli::array <IntPtr> ^ waitHandles, bool waitAll, int millisecondsTimeout);
[System.Security.SecurityCritical]
public override int Wait (IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout);
public override int Wait (IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout);
[<System.Security.SecurityCritical>]
override this.Wait : nativeint[] * bool * int -> int
override this.Wait : nativeint[] * bool * int -> int
Public Overrides Function Wait (waitHandles As IntPtr(), waitAll As Boolean, millisecondsTimeout As Integer) As Integer
Parameters
- waitHandles
-
IntPtr[]
nativeint[]
An array that contains the native operating system handles.
- waitAll
- Boolean
true
to wait for all handles; false
to wait for any handle.
- millisecondsTimeout
- Int32
The number of milliseconds to wait, or Infinite (-1) to wait indefinitely.
Returns
The array index of the object that satisfied the wait.
- Attributes
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.