Platform SDK: Transaction Server

ITransactionResourceAsync::AbortRequest

The MS DTC proxy calls this method to abort a transaction.

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

Parameters

pboidReason [in]
A pointer to a BOID explaining why the transaction abort was requested.

fRetaining [in]
Always will be FALSE for MS DTC version 1.0.

pNewUOW [in]
Always will be NULL for MS DTC version 1.0.

Return Values

S_OK
Success: the resource manager's transaction object has started aborting.

Comments

The resource manager needs to return from this call as soon as the transaction object starts aborting. After the transaction object is prepared the resource manager needs to call ITransactionEnlistmentAsync::AbortRequestDone.