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

实现

适用于