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
'宣告
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.