次の方法で共有


ITransactionImport

 

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 resource manager uses this interface to transform an imported transaction cookie into a transaction object. The resource manager calls this interface and passes an opaque marshaled form of the transaction object called a transaction cookie. The resource manager is returned a transaction object. This is referred to as importing the transaction. After importing the transaction, the resource manager uses the IResourceManager::Enlist method to enlist in the transaction.

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

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

Methods in Vtable Order

ITransactionImport method Description
Import Transforms a transaction cookie into a transaction object.

Remarks

Call QueryInterface for this interface on the DTC proxy core object with a riid of IID_ITransactionImport.

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

ITransactionExport