Represents an extension that hooks up with compensation activities and persists compensation-related instance state.
public ref class CompensationExtension : System::Activities::Persistence::PersistenceParticipant, System::Activities::Hosting::IWorkflowInstanceExtension
public class CompensationExtension : System.Activities.Persistence.PersistenceParticipant, System.Activities.Hosting.IWorkflowInstanceExtension
type CompensationExtension = class inherit PersistenceParticipant interface IWorkflowInstanceExtension
Public Class CompensationExtension Inherits PersistenceParticipant Implements IWorkflowInstanceExtension
Initializes a new instance of the CompensationExtension class.
Called by the host to collect read-write values and write-only values related to compensation to be persisted.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
A host invokes this method after it is done with collecting the values in the first stage. The host forwards two read-only dictionaries of values it collected from all persistence participants during the first stage (CollectValues stage) to this method for mapping. The host adds values in the dictionary returned by this method to the collection of write-only values.(Inherited from PersistenceParticipant)
Creates a shallow copy of the current Object.(Inherited from Object)
Called by the host to pass all of the loaded values related to compensation that were part of the most recent persistence episode.
Returns a string that represents the current object.(Inherited from Object)
Explicit Interface Implementations
Returns any additional extensions to compensation activities.
Sets any additional extensions to compensation activities.