Share via


CommonMessagePump.IVsCommonMessagePump.ModalWaitForObjectsWithClient Method

Definition

Blocks the current thread by pumping messages until either a timeout or one of the specified handles has been signaled.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.ModalWaitForObjectsWithClient(cli::array <IntPtr> ^ handles, System::UInt32 handleCount, Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePumpClientEvents ^ pClient) = Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump::ModalWaitForObjectsWithClient;
int IVsCommonMessagePump.ModalWaitForObjectsWithClient (IntPtr[] handles, uint handleCount, Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePumpClientEvents pClient);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.ModalWaitForObjectsWithClient : nativeint[] * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePumpClientEvents -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.ModalWaitForObjectsWithClient : nativeint[] * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePumpClientEvents -> int
Function ModalWaitForObjectsWithClient (handles As IntPtr(), handleCount As UInteger, pClient As IVsCommonMessagePumpClientEvents) As Integer Implements IVsCommonMessagePump.ModalWaitForObjectsWithClient

Parameters

handles

IntPtr[]

nativeint[]

Array of handles to wait on.

handleCount
UInt32

Count of handles

pClient
IVsCommonMessagePumpClientEvents

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

Returns

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

Implements

Applies to