SequenceActivity.Cancel(ActivityExecutionContext) 方法

定义

取消活动的执行。

protected:
 override System::Workflow::ComponentModel::ActivityExecutionStatus Cancel(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext);
protected override System.Workflow.ComponentModel.ActivityExecutionStatus Cancel (System.Workflow.ComponentModel.ActivityExecutionContext executionContext);
override this.Cancel : System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.ComponentModel.ActivityExecutionStatus
Protected Overrides Function Cancel (executionContext As ActivityExecutionContext) As ActivityExecutionStatus

参数

executionContext
ActivityExecutionContext

活动的执行上下文。

返回

在取消执行后活动的 ActivityExecutionStatus

适用于

另请参阅