Udostępnij za pośrednictwem


ITransactionCloner

 

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 ITransactionCloner interface is used to make clones of transaction objects such that the ITransaction::Commit method on the cloned transaction object will always fail with XACT_E_COMMITPREVENTED.

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

Use this interface to clone an MTS Windows NT 4.0 version of ITransaction.

Methods in Vtable Order

ITransactionCloner method Description
CloneWithCommitDisabled Receives the cloned ITransaction interface

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

ITransaction
ITransaction2