Platform SDK: Transaction Server

ITransactionOutcomeEvents::Abort

This event is raised when the transaction aborted, either as a result of a call to Abort or an unsuccessful call to Commit.

HRESULT Aborted (
BOID *
pboidReason,
BOOL
fRetaining,
XACTUOW *
pNewUOW,
HRESULT
hr);

Parameters

pboidReason [in]
A BOID indicating why the transaction aborted. This value is provided by the party making the heuristic decision.

fRetaining [in]
Indicates whether retaining Commit was specified. Will be FALSE.

pNewUOW [in]
Always NULL.

hr [in]
Always S_OK.

Return Values

S_OK
The transaction aborted.

XACT_E_INDOUBT
The transaction is in-doubt.