CommonMessagePump.IVsCommonMessagePump.SetTimeout(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the timeout value for the modal wait. Use 0xFFFFFFFF for an infinite wait.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetTimeout(System::UInt32 timeoutInMilliseconds) = Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump::SetTimeout;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetTimeout(unsigned int timeoutInMilliseconds) = Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump::SetTimeout;
int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetTimeout(unsigned int timeoutInMilliseconds);
int IVsCommonMessagePump.SetTimeout (uint timeoutInMilliseconds);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetTimeout : uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetTimeout : uint32 -> int
Function SetTimeout (timeoutInMilliseconds As UInteger) As Integer Implements IVsCommonMessagePump.SetTimeout
Parameters
- timeoutInMilliseconds
- UInt32
The timeout value. Use 0xFFFFFFFF for an infinite wait.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
This may be set before calling ModalWaitForHandles or during one of the callbacks in ModalWaitForHandlesWithClient.