ITransactionOutcomeEvents::Aborted

Raised when the transaction aborts.

MS DTC raises the Aborted event as soon as the transaction manager decides to abort the transaction. When the Aborted event is raised, there is no guarantee that the resource managers will have received the abort request or undone the effects of the aborted transaction.

A transaction can abort for any of the following reasons:

Syntax

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

where

pboidReason
[in] Is always NULL.
fRetaining
[in] Is always FALSE.
pNewUOW
[in] Is always NULL.
hr
[in] Is always S_OK

Returns

S_OK
Indicates the transaction aborted.