IBackgroundOperationContext.IsCancelRequested 屬性

定義

會取得或設定一個值,表示使用者是否請求取消該操作。

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

屬性值

true若操作被取消;否則,。 false

適用於