Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ITransactionPhase0Factory

ITransactionPhase0Factory

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 method Description

Create

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

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

Show:
© 2015 Microsoft