ITransactionExport

 

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

A process that wishes to export a transaction calls this interface and passes a transaction object. The process is returned an opaque marshaled form of the transaction object called a transaction cookie. The process then sends the transaction cookie to the destination process. This is referred to as exporting the transaction.

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

A process that wishes to export a transaction uses the ITransactionExport interface to marshal a transaction object.

ITransactionExport methodsDescription
ExportMarshals a transaction object for export.
GetTransactionCookieTransforms a transaction object into a transaction cookie.

You obtain a pointer to this interface by calling the ITransactionExportFactory::Create method.

Communication failures may invalidate the export object. If ITransactionExport::Export returns the error XACT_E_CONNECTION_DOWN then the current export object is invalid and a new export object must be created.

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

ITransactionExportFactory

Community Additions

ADD
Show: