The Problem SolverWIndows Workflow Foundation
HomeShow ChangesEditPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename



28-8-2008 09:29:5311-8-2008 20:59:3126-11-2007 08:10:105-10-2007 20:05:477-12-2006 18:57:10

List all versions

Compensate Activity

Triggers the compensation of a completed child Activity that implements the ICompensatableActivity interface.

The purpose of a CompensateActivity it to trigger compensation in the target activity.

A CompensateActivity can only be used in a CompensationHandlerActivity, a CancellationHandlerActivity activity or a FaultHandlerActivity. The target activity must be a child of the activity containing the CompensateActivity

The TargetActivityName must point to an activity of type ICompensatableActivity. By default there are two the CompensatableSequenceActivity and the CompensatableTransactionScopeActivity.

Because you cannot use a CompensateActivity in the normal logic of a workflow you need to use a

Wiki Usage

This wiki site is supposed to be a shared resource. As a shared resource everyone is encouraged to add new content or modify existing content!

Enjoy the WF wiki.

Recent Topics