CommonMessagePump.Timeout Property

Gets or sets the timeout value for the modal wait.

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


Public Property Timeout As TimeSpan
public TimeSpan Timeout { get; set; }
property TimeSpan Timeout {
    TimeSpan get ();
    void set (TimeSpan value);
member Timeout : TimeSpan with get, set
function get Timeout () : TimeSpan
function set Timeout (value : TimeSpan)

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.

.NET Framework Security

See Also


CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace