CompensationExtension Class
TOC
Collapse the table of content
Expand the table of content

CompensationExtension Class

.NET Framework (current version)
 

Represents an extension that hooks up with compensation activities and persists compensation-related instance state.

Namespace:   System.Activities.Statements
Assembly:  System.Activities (in System.Activities.dll)

System.Object
  System.Activities.Persistence.PersistenceParticipant
    System.Activities.Statements.CompensationExtension

Public Class CompensationExtension
	Inherits PersistenceParticipant
	Implements IWorkflowInstanceExtension

NameDescription
System_CAPS_pubmethodCompensationExtension()

Initializes a new instance of the CompensationExtension class.

NameDescription
System_CAPS_protmethodCollectValues(IDictionary(Of XName, Object), IDictionary(Of 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(Of XName, Object), IDictionary(Of XName, Object)).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMapValues(IDictionary(Of XName, Object), IDictionary(Of 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.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodPublishValues(IDictionary(Of 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(Of XName, Object)).)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIWorkflowInstanceExtension.GetAdditionalExtensions()

Returns any additional extensions to compensation activities.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWorkflowInstanceExtension.SetInstance(WorkflowInstanceProxy)

Sets any additional extensions to compensation activities.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft