CompensationExtension Class
Represents an extension that hooks up with compensation activities and persists compensation-related instance state.
Assembly: System.Activities (in System.Activities.dll)
System.Activities.Persistence::PersistenceParticipant
System.Activities.Statements::CompensationExtension
| Name | Description | |
|---|---|---|
![]() | CompensationExtension() | Initializes a new instance of the CompensationExtension class. |
| Name | Description | |
|---|---|---|
![]() | CollectValues(IDictionary<XName^, Object^>^%, IDictionary<XName^, Object^>^%) | Called by the host to collect read-write values and write-only values related to compensation to be persisted.(Overrides PersistenceParticipant::CollectValues(IDictionary<XName^, Object^>^%, IDictionary<XName^, Object^>^%).) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MapValues(IDictionary<XName^, Object^>^, IDictionary<XName^, 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.) |
![]() | MemberwiseClone() | |
![]() | PublishValues(IDictionary<XName^, Object^>^) | Called by the host to pass all of the loaded values related to compensation that were part of the most recent persistence episode.(Overrides PersistenceParticipant::PublishValues(IDictionary<XName^, Object^>^).) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IWorkflowInstanceExtension::GetAdditionalExtensions() | Returns any additional extensions to compensation activities. |
![]() ![]() | IWorkflowInstanceExtension::SetInstance(WorkflowInstanceProxy^) | Sets any additional extensions to compensation activities. |
Available since 4.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



