Partilhar via


MS DTC External Transactions

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

Microsoft® Distributed Transaction Coordinator (MS DTC) external transactions are used when the transaction includes more actions than simply sending or retrieving Message Queuing messages (more than one resource manager is enlisted). In this case, the application must ask MS DTC for a transaction object and explicitly reference that object each time it sends a message, retrieves a message, or executes an action of another resource manager.

When an application is performing an MS DTC transaction, Message Queuing is acting as part of a transaction processing system that includes a transaction manager and any number of resource managers.

The following illustration shows the basic model for the transaction processing system. This model demonstrates a typical system with MS DTC as the transaction manager and Message Queuing and SQL as resource managers. The application must work with the transaction manager and with each relevant resource manager.

<No Change>

More Information

For an example of See
Sending a message using an MS DTC external transaction C/C++ Code Example: Sending a Message Using an MS DTC External Transaction

 Visual Basic Code Example: Sending a Message Using an MS DTC External Transaction