ITransactionVoterNotifyAsync2
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
The ITransactionVoterNotifyAsync2 interface notifies a transaction voter of a vote request during the first phase of the two-phase commit protocol. The transaction voter returns a vote to either approve a commit outcome or abort the transaction through the ITransactionVoterBallotAsync2::VoteRequestDone method. The ITransactionVoterNotifyAsync2 interface also notifies the voter of commit, abort, heuristic, and in-doubt transaction outcomes during phase two through the inherited ITransactionOutcomeEvents interface.
Note
The ITransactionVoterNotifyAsync interface is no longer supported and applications must instead use the ITransactionVoterNotifyAsync2 interface.
When to Implement
An application implements this interface to vote on the outcome of a transaction.
When to Use
The DTC proxy calls on this interface to notify a transaction voter of a vote request during the first phase of the two-phase commit protocol.
Methods in Vtable Order
IUnknown methods
ITransactionOutcomeEvents methods
ITransactionVoterNotifyAsync2 method | Description |
---|---|
VoteRequest | Notifies a transaction voter that phase one of the two-phase commit protocol has started. |
Remarks
You obtain a pointer to this interface from the transaction voter.
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