CompensatableTransactionScopeActivity.ICompensatableActivity.Compensate 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
상태에 있는 활동을 보정하기 위해 워크플로 런타임에서 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 후 작업이 시도되었습니다.