ITransactionVoterBallotAsync2

 

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

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.

System_CAPS_ICON_note.jpg Note

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 methodDescription
VoteRequestDoneApplication 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 (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

Community Additions

ADD
Show: