CommonMessagePump.Timeout Property

Definition

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.

Applies to