CommonMessagePump::IVsCommonMessagePump::SetTimeout Method (UInt32)
Visual Studio 2015
Sets the timeout value for the modal wait.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
private: virtual int SetTimeout( unsigned int timeoutInMilliseconds ) sealed = IVsCommonMessagePump::SetTimeout
Parameters
- timeoutInMilliseconds
-
Type:
System::UInt32
The timeout value. Use 0xFFFFFFFF for an infinite wait.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsCommonMessagePump::SetTimeout(UInt32)This may be set before calling ModalWaitForHandles or during one of the callbacks in ModalWaitForHandlesWithClient.
Show: