WaitForChangedResult.TimedOut 属性

定义

获取或设置一个值,该值指示等待操作是否超时。

public:
 property bool TimedOut { bool get(); void set(bool value); };
public bool TimedOut { get; set; }
member this.TimedOut : bool with get, set
Public Property TimedOut As Boolean

属性值

true 如果方法超时,则 WaitForChanged(WatcherChangeTypes) 为 :否则为 false

适用于

另请参阅