CommonMessagePump.Timeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the timeout value for the modal wait. Use TimeSpan.MaxValue for an infinite wait.
public:
property TimeSpan Timeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan Timeout { get; set; }
member this.Timeout : TimeSpan with get, set
Public Property Timeout As TimeSpan
Property Value
The timeout value for the modal wait.
Remarks
This may be set before calling ModalWaitForHandles or during one of the callbacks in ModalWaitForHandlesWithClient.