ITransactionPhase0EnlistmentAsync

 

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

ITransactionPhase0EnlistmentAsync is the interface a Phase0 participant uses to indicate that it is ready to receive phase0 notification, that phase0 processing has completed, or that phase0 notification is no longer desired.

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

A Phase0 participant uses this interface to indicate that it is ready to receive phase0 notification, that phase0 processing has completed, or that phase0 notification is no longer desired.

ITransactionPhase0EnlistmentAsync methodsDescription
EnableIndicates that it is prepared to accept Phase0 notifications and changes the enlistment object from the "disabled" state (in which it was created) to the "enabled" state.
WaitForEnlistmentBlocks the caller until the Phase0 enlistment completes.
Phase0DoneIndicates that the caller has completed Phase0 processing.
UnenlistIndicates that receiving Phase0 notifications is no longer needed.
GetTransactionRetrieves a pointer to the transaction that is associated with the Phase0 Enlistment object.

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

All of the calls in this interface are asynchronous, with the exception of WaitForEnlistment and GetTransaction methods.

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

ITransactionPhase0Factory

Community Additions

ADD
Show: