CommonMessagePump::Timeout Property

 

Gets or sets the timeout value for the modal wait.

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

public:
property TimeSpan Timeout {
	TimeSpan get();
	void set(TimeSpan value);
}

Property Value

Type: System::TimeSpan

The timeout value for the modal wait.

Use TimeSpan.MaxValue for an infinite wait.

This value may be set before calling ModalWaitForHandles or during one of the callbacks in ModalWaitForHandlesWithClient.

Return to top
Show: