ITransactionPhase0Factory

 

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.

When to Implement

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

When to Use

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

Methods in Vtable Order

ITransactionPhase0Factory method Description
Create Creates the Phase0 Enlistment object and exchanges the ITransactionPhase0NotifyAsync and ITransactionPhase0EnlistmentAsync sinks between the Phase0 participant and the DTC proxy.

Remarks

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.

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

ITransactionPhase0EnlistmentAsync
ITransactionPhase0NotifyAsync