Freigeben über


CommonMessagePump.Timeout Property

Set the timeout value for the modal wait. Use TimeSpan.MaxValue for an infinite wait.

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

Syntax

'Declaration
Public Property Timeout As TimeSpan
    Get
    Set
'Usage
Dim instance As CommonMessagePump
Dim value As TimeSpan

value = instance.Timeout

instance.Timeout = value
public TimeSpan Timeout { get; set; }
public:
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

Remarks

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

.NET Framework Security

See Also

Reference

CommonMessagePump Class

CommonMessagePump Members

Microsoft.VisualStudio.Shell Namespace