ITransactionOutcomeEvents::Aborted
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
This event is raised when the transaction aborted, either as a result of a call to Abort or an unsuccessful call to Commit*.*
Syntax
HRESULT Aborted( BOID * pboidReason, BOOL fRetaining, XACTUOW * pNewUOW, HRESULT hr);
Parameters
pboidReason
[in] A BOID indicating why the transaction aborted.
fRetaining
[in] Indicates whether retaining Commit was specified. Will be FALSE.
pNewUOW
[in] Always NULL.
hr
[in] Always S_OK.
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
S_OK
The transaction aborted.
XACT_E_INDOUBT
The transaction is in-doubt.
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 transact.h