Share via


MSMQCoordinatedTransactionDispenser

 

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

The MSMQCoordinatedTransactionDispenser object provides a method for starting an external transaction by obtaining an MS DTC transaction object. When the transaction is started, an MSMQTransaction object that represents the new underlying MS DTC transaction object and can be used to send or retrieve messages is returned.

For information on all MS DTC transactions, see MS DTC External Transactions.

Methods

The MSMQCoordinatedTransactionDispenser object defines the following method.

Method Description
MSMQTransactionDispenser.BeginTransaction Initiates a new MS DTC external transaction and returns an MSMQ transaction object that represents the new underlying transaction object.

Requirements

Windows NT/2000/XP: Included in Windows NT 4.0 SP3 and later.

Windows 95/98/Me: Included in Windows 95 and later.

Header: Declared in Mqoai.h.

Library: Use Mqoa.lib

See Also

Message Queuing COM Components