AsyncCodeActivity.Cancel(AsyncCodeActivityContext) 方法

定义

当在派生类中实现并使用指定的执行环境信息时,通知工作流运行时异步活动操作已提前完成。 用作虚拟方法。

protected:
 virtual void Cancel(System::Activities::AsyncCodeActivityContext ^ context);
protected virtual void Cancel (System.Activities.AsyncCodeActivityContext context);
abstract member Cancel : System.Activities.AsyncCodeActivityContext -> unit
override this.Cancel : System.Activities.AsyncCodeActivityContext -> unit
Protected Overridable Sub Cancel (context As AsyncCodeActivityContext)

参数

context
AsyncCodeActivityContext

定义 AsyncCodeActivity 的执行环境的信息。

适用于