ICompensatableActivity Interface
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Workflow.ComponentModel
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
Return to top
Defines the interface required by an Activity that can be compensated.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
| Name | Description | |
|---|---|---|
![]() | Compensate(ActivityExecutionContext^) | 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. |
Note |
|---|
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5. |
For more information about compensation, see Using Transactions in Workflows.
.NET Framework
Available since 3.0
Available since 3.0
System.Workflow.ComponentModel Namespace
Using Transactions in Workflows
Show:

