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.

适用于