ICompensatableActivity.Compensate(ActivityExecutionContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by the workflow runtime to compensate an activity that is in the Closed state. The activity must have a value of Succeeded
for its ExecutionResult property in order to be compensatable.
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
Parameters
- executionContext
- ActivityExecutionContext
The ActivityExecutionContext for the operation.
Returns
The ActivityExecutionStatus after operation has been tried.
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.