O'Reilly logo

Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C# by K. Scott Allen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Transactions and Compensation

Traditional ACID (atomic, consistent, isolated, and durable) transactions are available in Windows Workflow. Under the covers, the runtime makes use of the Transaction class in the System.Transactions namespace. The Transaction class can manage transactions across different types of durable stores, including Microsoft SQL Server and other relational databases, and products like Microsoft Message Queuing. When needed, the Transaction class can use the Microsoft Distributed Transaction Coordinator (MSDTC) for heavy-weight two-phase commit transactions.

The TransactionScopeActivity

Like the TransactionScope class of System.Transactions, the TransactionScope activity will start a transaction and implicitly enlist any activities ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required