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
'Déclaration
Public Property Timeout As TimeSpan
Get
Set
'Utilisation
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
- 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.