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.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Private Function ModalWaitForObjectsWithClient ( _
    handles As IntPtr(), _
    handleCount As UInteger, _
    pClient As IVsCommonMessagePumpClientEvents _
) As Integer Implements IVsCommonMessagePump.ModalWaitForObjectsWithClient
用法
Dim instance As CommonMessagePump
Dim handles As IntPtr()
Dim handleCount As UInteger
Dim pClient As IVsCommonMessagePumpClientEvents
Dim returnValue As Integer

returnValue = CType(instance, IVsCommonMessagePump).ModalWaitForObjectsWithClient(handles, _
    handleCount, pClient)
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.

Return Value

Type: System.Int32

Implements

IVsCommonMessagePump.ModalWaitForObjectsWithClient(array<IntPtr[], UInt32, IVsCommonMessagePumpClientEvents)

.NET Framework Security

See Also

Reference

CommonMessagePump Class

CommonMessagePump Members

Microsoft.VisualStudio.Shell Namespace