共用方式為


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

適用於

另請參閱