AsyncCodeActivityContext.IsCancellationRequested 属性
定义
获取用于指示是否要取消当前正在执行的 AsyncCodeActivity 的值。Gets a value that indicates whether the currently executing AsyncCodeActivity is to be canceled.
public:
property bool IsCancellationRequested { bool get(); };
public bool IsCancellationRequested { get; }
member this.IsCancellationRequested : bool
Public ReadOnly Property IsCancellationRequested As Boolean
属性值
如果要取消当前正在执行的 AsyncCodeActivity,则为 true;否则为 false。true if the currently executing AsyncCodeActivity is to be canceled; otherwise, false.