Bewerken

Delen via


SequenceActivity.Cancel(ActivityExecutionContext) Method

Definition

Cancels the execution of the activity.

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

Parameters

executionContext
ActivityExecutionContext

The execution context of the activity.

Returns

The ActivityExecutionStatus of the activity after canceling the execution.

Applies to

See also