Επεξεργασία

Κοινή χρήση μέσω


CompensatableSequenceActivity.ICompensatableActivity.Compensate Method

Definition

Executes the activity using the Compensate(ActivityExecutionContext) interface.

 virtual System::Workflow::ComponentModel::ActivityExecutionStatus System.Workflow.ComponentModel.ICompensatableActivity.Compensate(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext) = System::Workflow::ComponentModel::ICompensatableActivity::Compensate;
System.Workflow.ComponentModel.ActivityExecutionStatus ICompensatableActivity.Compensate (System.Workflow.ComponentModel.ActivityExecutionContext executionContext);
abstract member System.Workflow.ComponentModel.ICompensatableActivity.Compensate : System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.ComponentModel.ActivityExecutionStatus
override this.System.Workflow.ComponentModel.ICompensatableActivity.Compensate : System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.ComponentModel.ActivityExecutionStatus
Function Compensate (executionContext As ActivityExecutionContext) As ActivityExecutionStatus Implements ICompensatableActivity.Compensate

Parameters

executionContext
ActivityExecutionContext

The execution context of the activity.

Returns

The ActivityExecutionStatus after the operation has been tried.

Implements

Applies to

See also