The Problem SolverWIndows Workflow Foundation
HomeShow ChangesEditPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename

Search

History

26-11-2007 08:17:445-10-2007 05:37:0611-6-2007 10:07:451-11-2006 10:16:3830-10-2006 11:47:33

List all versions

Transaction Scope Activity
.
Summary

The TransactionOptions property determines how the transaction is handled.

During normal operations the transaction is committed at the end of the TransactionScopeActivity. If an exception is raised somewhere inside the TransactionScopeActivity, for example by a ThrowActivity, a rollback is performed.

To ensure consistency between the WorkflowInstance and the database being updated the TransactionScopeActivity is adorned with the PersistOnCloseAttribute. When the TransactionScopeActivity is used the WorkflowRuntime must be configured with a WorkflowPersistenceService. This could be the build in SqlWorkflowPersistenceService or another custom WorkflowPersistenceService.

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