共用方式為


AsyncCodeActivityContext.IsCancellationRequested 屬性

定義

取得值,這個值會指出是否要取消目前執行中的 AsyncCodeActivity

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

屬性值

如果要取消目前執行中的 AsyncCodeActivity,則為 true,否則為 false

適用於