Compartilhar via


CommonMessagePump.Timeout Property

Gets or sets the timeout value for the modal wait.

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

Syntax

'Declaração
Public Property Timeout As TimeSpan
public TimeSpan Timeout { get; set; }

Property Value

Type: System.TimeSpan
The timeout value for the modal wait.

Remarks

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

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace