CommonMessagePump.IVsCommonMessagePump.ModalWaitForObjectsWithClient Method
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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Private Function ModalWaitForObjectsWithClient ( _
handles As IntPtr(), _
handleCount As UInteger, _
pClient As IVsCommonMessagePumpClientEvents _
) As Integer Implements IVsCommonMessagePump.ModalWaitForObjectsWithClient
int IVsCommonMessagePump.ModalWaitForObjectsWithClient(
IntPtr[] handles,
uint handleCount,
IVsCommonMessagePumpClientEvents pClient
)
private:
virtual int ModalWaitForObjectsWithClient(
array<IntPtr>^ handles,
unsigned int handleCount,
IVsCommonMessagePumpClientEvents^ pClient
) sealed = IVsCommonMessagePump::ModalWaitForObjectsWithClient
private abstract ModalWaitForObjectsWithClient :
handles:IntPtr[] *
handleCount:uint32 *
pClient:IVsCommonMessagePumpClientEvents -> int
private override ModalWaitForObjectsWithClient :
handles:IntPtr[] *
handleCount:uint32 *
pClient:IVsCommonMessagePumpClientEvents -> int
JScript does not support explicit interface implementations.
Parameters
handles
Type: array<System.IntPtr[]Array of handles to wait on.
handleCount
Type: System.UInt32Count of handles
pClient
Type: Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePumpClientEventsThe caller implementation of IVsCommonMessagePumpClient.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
.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.