ITransactionDispenser

 

Updated: July 19, 2016

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

This interface contains two methods. The BeginTransaction method creates new transaction objects. The GetOptionsObject method creates new transaction options objects.

You do not need to implement this interface. It is implemented by the core TM object of the DTC Proxy.

Use this interface to create transactions and transaction options.

ITransactionDispenser methodsDescription
GetOptionsObjectCreates a transaction options object.
BeginTransactionInitiates a new transaction and returns a new transaction object.

Call the DtcGetTransactionManager function with an riid of IID_ITransactionDispenser when initially connecting to DTC. You can also call QueryInterface on any interface on the DTC proxy core object with an riid of IID_ITransactionDispenser.

For an explanation of the requirement values, see Requirements (Component Services).

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in transact.h

ITransactionOptions

Community Additions

ADD
Show: