Share via


Transaction Phase0 Enlistment Object

 

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 Phase0 Enlistment Object is used by applications to receive notification on a particular transaction that the client has initiated the transaction commit or abort but before the 2-phase processing has been initiated.

Origin: The application creates a phase0 enlistment object by calling the ITransactionPhase0Factory::Create. The ITransactionPhase0Factory interface is implemented by the transaction object.
Occurrences: One instance of the phase 0 enlistment object is present for each call to the ITransactionPhase0Factory::Create method. A transaction phase 0 enlistee calls this method for every transaction for which it needs phase 0 notification.
Duration: The lifetime of a phase 0 enlistment object matches that of the transaction with which it is employed.
Interfaces: IUnknown

 ITransactionPhase0EnlistmentAsync