Compensation (Samples)

.NET Framework 4.6 and 4.5

This section contains samples related to compensation in Windows Workflow Foundation (WF).

In This Section

Compensable Activity Sample
Demonstrates how to use the CompensableActivity activity to define the work to be done for a given action during normal execution and the work that is necessary to be done to compensate that action, if necessary at a later time.

Custom Compensation Sample
Demonstrates how to use CompensableActivity and its compensation handler to define custom compensation logic.

Confirmation
Demonstrates four common scenarios surrounding the use of CompensableActivity and confirmation.

Cancellation Handler on Compensable Activity
Demonstrates the use of a cancellation handler on a CompensableActivity.




Build Date:

2012-08-02
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft