共用方式為


HandleExternalEventActivity.Cancel(ActivityExecutionContext) 方法

定義

取消事件的處理。

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

參數

executionContext
ActivityExecutionContext

ActivityExecutionContext,表示 Activity 的執行環境。

傳回

位於要求作業結尾處 ActivityExecutionContextHandleExternalEventActivity

適用於

另請參閱