CommonMessagePump::IVsCommonMessagePump::ModalWaitForObjectsWithClient Method (array<IntPtr>^, UInt32, IVsCommonMessagePumpClientEvents^)

 

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)

private:
virtual int ModalWaitForObjectsWithClient(
	array<IntPtr>^ handles,
	unsigned int handleCount,
	IVsCommonMessagePumpClientEvents^ pClient
) sealed = IVsCommonMessagePump::ModalWaitForObjectsWithClient

Parameters

handles
Type: array<System::IntPtr>^

Array of handles to wait on.

handleCount
Type: System::UInt32

Count of handles

pClient
Type: Microsoft.VisualStudio.Shell.Interop::IVsCommonMessagePumpClientEvents^

The caller implementation of T:Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePumpClient.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: