Platform SDK: Transaction Server

Transaction Object

The Transaction object represents the MS 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
ITransaction
IGetDispenser