ITransactionPhase0Factory

 

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

The interface contains a single method that creates a new phase0 enlistment object. The phase0 enlistment object implements the ITransactionPhase0EnlistmentAsync Interface. This interface is exported as a sink to the Phase0 participant; the phase0 participant uses it for controlling the Phase 0 enlistment.

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

Use this interface to enlist for Phase 0 notification on a transaction.

ITransactionPhase0Factory methodDescription
CreateCreates the Phase0 Enlistment object and exchanges the ITransactionPhase0NotifyAsync and ITransactionPhase0EnlistmentAsync sinks between the Phase0 participant and the DTC proxy.

You obtain a pointer to this interface by calling QueryInterface on any ITransaction interface pointer with a riid of IID_ITransactionPhase0Factory. This returns a factory that is specialized for that particular transaction.

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

ITransactionPhase0EnlistmentAsync
ITransactionPhase0NotifyAsync

Community Additions

ADD
Show: