- waitHandles
An array of type IntPtr that contains the native operating system handles.
- waitAll
true to wait for all handles; false to wait for any handle.
- millisecondsTimeout
The number of milliseconds to wait, or Timeout.Infinite (-1) to wait indefinitely.
![]()
The array index of the object that satisfied the wait.
SynchronizationContext.WaitHelper(IntPtr[], bool, int) is a declaration for an unmanaged external helper function. SynchronizationContext.WaitHelper(IntPtr[], bool, int) is called by the SynchronizationContext.Wait(IntPtr[], bool, int) method to wait for a signal for the specified operating system handles.