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

适用于

另请参阅