Transaction Object

 

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 transaction object represents the DTC transaction.

Origin: Created by an application program or resource manager that calls the ITransactionDispenser::BeginTransaction method. Occurs each time a new transaction is required. A resource manager creates a transaction object by calling the ItransactionImport::Import method each time a transaction is imported by the resource manager.
Occurrences: One instance for each transaction the application program or resource manager initiates. A process may begin as many transactions as it chooses.

One instance of the transaction object is present for each transaction that the resource manager imports. A resource manager may import on as many transactions as it chooses.
Duration: The transaction object exists for the life of the transaction. It should be released when the transaction completes.
Interfaces: IUnknown

 ITransactionIGetDispenser

 ITipTransaction

 ITransactionPhase0Factory