Freigeben über


CommonMessagePump.ModalWaitForHandles Method (WaitHandle)

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Public Function ModalWaitForHandles ( _
    waitHandle As WaitHandle _
) As CommonMessagePumpExitCode
'Usage
Dim instance As CommonMessagePump
Dim waitHandle As WaitHandle
Dim returnValue As CommonMessagePumpExitCode

returnValue = instance.ModalWaitForHandles(waitHandle)
public CommonMessagePumpExitCode ModalWaitForHandles(
    WaitHandle waitHandle
)
public:
CommonMessagePumpExitCode ModalWaitForHandles(
    WaitHandle^ waitHandle
)
member ModalWaitForHandles : 
        waitHandle:WaitHandle -> CommonMessagePumpExitCode 
public function ModalWaitForHandles(
    waitHandle : WaitHandle
) : CommonMessagePumpExitCode

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.CommonMessagePumpExitCode

.NET Framework Security

See Also

Reference

CommonMessagePump Class

CommonMessagePump Members

ModalWaitForHandles Overload

Microsoft.VisualStudio.Shell Namespace