ITransactionVoterNotifyAsync2

 

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

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.

System_CAPS_ICON_note.jpg Note

The ITransactionVoterNotifyAsync interface is no longer supported and applications must instead use the ITransactionVoterNotifyAsync2 interface.

An application implements this interface to vote on the outcome of a transaction.

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.

ITransactionVoterNotifyAsync2 methodDescription
VoteRequestNotifies a transaction voter that phase one of the two-phase commit protocol has started.

You obtain a pointer to this interface from the transaction voter.

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: