This topic has not yet been rated - Rate this topic

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 2000, Windows XP, Windows Server 2003

Header: Declared in txdtc.h

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.