IDtcToXaHelper

 

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

Resource manager can proxies use the IDtcToXaHelper interface to map between OLE Transactions and XA protocol when the XA is being used as the native protocol for distributed transactions. ODBC is an example of an RM proxy. The following sections use ODBC as a specific example to facilitate the understanding of what needs to be done in the resource manager proxy to map OLE Transaction to the XA protocol.

This interface differs from the IDtcToXaSinglePipeHelper interface in that it requires that the resource manager proxy developer explicitly use the IResourceManager interface.

When to Implement

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

When to Use

Use this interface to map between OLE Transactions and the XA protocol using the one-pipe connection model.

Methods in Vtable Order

IDtcToXaHelper methods Description
Close Closes the connection between the RM proxy and the DTC transaction manager thereby signifying that the RM proxy has closed its connection to the resource manager.
TranslateTridToXid Creates an XID from an ITransaction object.

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 oletx2xa.h

See Also

IDtcToXaMapper
IDtcToXaHelperFactory
IDtcToXaHelperSinglePipe