CompensatableTransactionScopeActivity.ICompensatableActivity.Compensate メソッド

定義

ワークフロー ランタイムが、Closed 状態のアクティビティを補正するために呼び出します。 アクティビティを補正するためには、Succeeded プロパティの値が ExecutionResult でなければなりません。

 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

パラメーター

executionContext
ActivityExecutionContext

操作の ActivityExecutionContext

戻り値

操作が試行された後の ActivityExecutionStatus

実装

適用対象