Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Blocks the current thread by pumping messages until either a timeout or one of the specified handles has been signaled.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Function ModalWaitForHandles ( _
waitHandles As WaitHandle(), _
<OutAttribute> ByRef handleSignaledIndex As Integer _
) As CommonMessagePumpExitCode
public CommonMessagePumpExitCode ModalWaitForHandles(
WaitHandle[] waitHandles,
out int handleSignaledIndex
)
public:
CommonMessagePumpExitCode ModalWaitForHandles(
array<WaitHandle^>^ waitHandles,
[OutAttribute] int% handleSignaledIndex
)
member ModalWaitForHandles :
waitHandles:WaitHandle[] *
handleSignaledIndex:int byref -> CommonMessagePumpExitCode
public function ModalWaitForHandles(
waitHandles : WaitHandle[],
handleSignaledIndex : int
) : CommonMessagePumpExitCode
Parameters
- waitHandles
Type: array<System.Threading.WaitHandle[]
The handles
- handleSignaledIndex
Type: System.Int32%
[out] The index to the handle that was signaled.
Return Value
Type: Microsoft.VisualStudio.Shell.CommonMessagePumpExitCode
The exit code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.