ITransactionVoterBallotAsync2
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.
Note
The ITransactionVoterBallotAsync interface is no longer supported; applications must instead use the ITransactionVoterBallotAsync2 interface.
When to Implement
You do not need to implement this interface. It is implemented by the transaction voter ballot object of the DTC proxy.
When to Use
Use this interface to either approve or veto a transaction during the prepare phase of the two-phase commit protocol.
Methods in Vtable Order
- IUnknown methods
ITransactionVoterBallotAsync2 method | Description |
---|---|
VoteRequestDone | Application server uses this method to submit a vote during the prepare phase of a transaction. |
Remarks
You obtain a pointer to this interface by calling the ITransactionVoterFactory2::Create method.
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