語言

AsyncCodeActivityContext.IsCancellationRequested 屬性

定義

會得到一個值,指示當前執行 AsyncCodeActivity 的是否要取消。

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

屬性值

true如果正在執行AsyncCodeActivity的要取消;否則,。 false

適用於