TaskExecutionContext.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

實作

適用於