CommonMessagePump.Timeout 属性

定义

获取或设置模式等待的超时值。

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

属性值

TimeSpan

模式等待的超时值。

注解

这可以在调用 ModalWaitForHandles 之前或在 ModalWaitForHandlesWithClient 中的某个回调期间设置。

适用于