Delen via


ITransaction

 

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 ITransaction interface is used to commit and abort transactions and to obtain status information about transactions.

When to Implement

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

When to Use

Application programs and resource managers that commit and abort transactions use this interface to obtain status information about transactions.

Methods in Vtable Order

ITransaction methods Description
Commit Commits the transaction.
Abort Aborts the transaction.
GetTransactionInfo Returns information regarding a transaction object.

Remarks

You obtain a pointer to this interface by calling the ITransactionDispenser::BeginTransaction method or the ITransactionImport::Import method.

Requirements

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

See Also

ITransaction2
ITransactionImport
ITransactionDispenser