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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
‘선언
Public Function ModalWaitForHandles ( _
waitHandle As WaitHandle _
) As CommonMessagePumpExitCode
public CommonMessagePumpExitCode ModalWaitForHandles(
WaitHandle waitHandle
)
Parameters
- waitHandle
Type: System.Threading.WaitHandle
The wait handle.
Return Value
Type: Microsoft.VisualStudio.Shell.CommonMessagePumpExitCode
The exit code.
.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.