次の方法で共有


ITransactionEnlistmentAsync

 

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 notify the transaction manager that it has completed the prepare, abort, or commit request on the transaction object associated with this enlistment object.

When to Implement

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

When to Use

Use this interface to notify the transaction manager that the resource manager has completed a request on the transaction object.

Methods in Vtable Order

ITransactionEnlistmentAsync methods Description
PrepareRequestDone Informs the transaction manager that the resource manager has completed the prepare phase.
CommitRequestDone Informs the transaction manager that the resource manager has successfully committed the transaction.
AbortRequestDone Informs the transaction manager that the resource manager has successfully aborted the transaction.

Remarks

You obtain a pointer to this interface by calling the IResourceManager::Enlist method.

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

IResourceManager