Export (0) Print
Expand All

ITransactionPhase0EnlistmentAsync

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

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.

Platforms: Windows 2000, Windows XP, Windows Server 2003

Header: Declared in txdtc.h

Show:
© 2014 Microsoft