Export (0) Print
Expand All

ITransactionVoterBallotAsync2

ITransactionVoterBallotAsync2 is the interface transaction voters use to either approve or veto a transaction during the prepare phase of the two-phase commit protocol. The transaction voter ballot object, in the DTC proxy, implements this interface and creates it on the method call ITransactionVoterFactory2::Create.

ms680565.note(en-us,VS.85).gifNote
The ITransactionVoterBallotAsync interface is no longer supported; applications must instead use the ITransactionVoterBallotAsync2 interface.

You do not need to implement this interface. It is implemented by the transaction voter ballot object of the DTC proxy.

Use this interface to either approve or veto a transaction during the prepare phase of the two-phase commit protocol.

ITransactionVoterBallotAsync2 method Description

VoteRequestDone

Application server uses this method to submit a vote during the prepare phase of a transaction.

You obtain a pointer to this interface by calling the ITransactionVoterFactory2::Create method.

For an explanation of the requirement values, see Requirements.

Platforms: Windows 2000, Windows XP, Windows Server 2003

Header: Declared in txdtc.h

Show:
© 2014 Microsoft