TaskExecutionContext.IsCancelRequested 屬性

定義

會得到一個值,表示是否存在取消任務的請求。

public:
 property bool IsCancelRequested { bool get(); };
public bool IsCancelRequested { get; }
member this.IsCancelRequested : bool
Public ReadOnly Property IsCancelRequested As Boolean

屬性值

true如果有取消任務的請求;否則,。 false

實作

適用於