Exceptions, Transactions, and Compensation

WF provides several different mechanisms for handling run-time error conditions in workflows. Workflows can use a combination of exception handlers, transactions, cancellation, and compensation to handle and recover gracefully from error conditions.

In This Section

Exceptions
Demonstrates how to use the TryCatch activity to handle exceptions in a workflow.

Transactions
Demonstrates how to use the TransactionScope activity to use transactions in a workflow.

Compensation
Describes compensation in workflows and demonstrates how to use compensation activities such as CompensableActivity, Compensate, and Confirm.

Cancellation
Describes how to perform cancellation handling in workflows using built-in activities as well as custom activities.

Debugging Workflows
Describes how to debug workflows.