WaitForChangedResult.TimedOut 属性

定义

获取或设置指示等待操作是否已超时的值。Gets or sets a value indicating whether the wait operation timed out.

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);否则为 falsetrue if the WaitForChanged(WatcherChangeTypes) method timed out; otherwise, false.

适用于

另请参阅