Share via


ITransactionPhase0EnlistmentAsync

 

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.

When to Implement

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

When to Use

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.

Methods in Vtable Order

ITransactionPhase0EnlistmentAsync methods Description
Enable Indicates 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.
WaitForEnlistment Blocks the caller until the Phase0 enlistment completes.
Phase0Done Indicates that the caller has completed Phase0 processing.
Unenlist Indicates that receiving Phase0 notifications is no longer needed.
GetTransaction Retrieves a pointer to the transaction that is associated with the Phase0 Enlistment object.

Remarks

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.

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

See Also

ITransactionPhase0Factory