CommonMessagePump::ModalWaitForHandles Method (array<WaitHandle^>^, Int32)

 

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.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.

Return to top
Show: