CommonMessagePump::ModalWaitForHandles Method (array<WaitHandle^>^, Int32)
Visual Studio 2015
Blocks the current thread by pumping messages until either a timeout or one of the specified handles has been signaled.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: CommonMessagePumpExitCode ModalWaitForHandles( array<WaitHandle^>^ waitHandles, [OutAttribute] int% handleSignaledIndex )
Parameters
- waitHandles
-
Type:
array<System.Threading::WaitHandle^>^
The handles
- handleSignaledIndex
-
Type:
System::Int32
[out] The index to the handle that was signaled.
Show: