ICompensatableActivity Interface
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.
Caution
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Defines the interface required by an Activity that can be compensated.
public interface class ICompensatableActivity
public interface ICompensatableActivity
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public interface ICompensatableActivity
type ICompensatableActivity = interface
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ICompensatableActivity = interface
Public Interface ICompensatableActivity
- Derived
- Attributes
Remarks
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.
Methods
Compensate(ActivityExecutionContext) |
Called by the workflow runtime to compensate an activity that is in the Closed state. The activity must have a value of |