ITransactionExport

 

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.

When to Implement

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

When to Use

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

Methods in Vtable Order

ITransactionExport methods Description
Export Marshals a transaction object for export.
GetTransactionCookie Transforms a transaction object into a transaction cookie.

Remarks

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.

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

See Also

ITransactionExportFactory