IBackgroundOperationContext.IsCancelable 屬性

定義

取得或設定一個值,表示該操作是否可以被取消。

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

屬性值

true如果該財產可以被取消;否則,。 false

適用於