Share via


BYOT (Bring Your Own Transaction) 

The COM+ BYOT feature allows COM+ components to set a pre-existing Microsoft Distributed Transaction Coordinator (DTC) or Transaction Internet Protocol (TIP) transaction as the transaction property of a new component's context. This allows COM+ components to be associated with transactions whose lifetimes are controlled by a transaction processing monitor, object transaction service, or database management system. BYOT is also useful in integrating with transactions coordinated by TIP.

To learn how to use the BYOT feature to access the COM+ Distributed Transaction Coordinator (DTC), see How to: Use the BYOT (Bring Your Own Transaction) Feature of COM+.

Note

Automatic transactions, rather than BYOT transactions, are the preferred programming model for writing business components. BYOT transactions must be used with caution. In certain situations, they can result in a transaction spanning multiple synchronization domains (that is, allowing parallelism with a transaction).

The BYOT class exposes two methods: CreateWithTransaction and CreateWithTipTransaction.

See Also

Tasks

How to: Use the BYOT (Bring Your Own Transaction) Feature of COM+

Reference

System.EnterpriseServices Namespace

Concepts

Summary of Available COM+ Services