다음을 통해 공유


ICompensatableActivity.Compensate(ActivityExecutionContext) 메서드

정의

Closed 상태의 활동을 보정하기 위해 워크플로 런타임에서 호출됩니다. 활동을 보정할 수 있으려면 Succeeded 속성 값이 ExecutionResult여야 합니다.

public:
 System::Workflow::ComponentModel::ActivityExecutionStatus Compensate(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext);
public System.Workflow.ComponentModel.ActivityExecutionStatus Compensate (System.Workflow.ComponentModel.ActivityExecutionContext executionContext);
abstract member Compensate : System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.ComponentModel.ActivityExecutionStatus
Public Function Compensate (executionContext As ActivityExecutionContext) As ActivityExecutionStatus

매개 변수

executionContext
ActivityExecutionContext

작업의 ActivityExecutionContext입니다.

반환

ActivityExecutionStatus

작업이 시도된 후의 ActivityExecutionStatus입니다.

적용 대상