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

適用於