Compartilhar via


ITransactionResourceAsync::AbortRequest

 

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 DTC proxy calls this method to abort a transaction.

Syntax

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

Parameters

pboidReason
[in] Unspecified and should be ignored.

fRetaining
[in] Always will be FALSE.

pNewUOW
[in] Always will be NULL.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

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

Remarks

The resource manager needs to return from this call as soon as it has asynchronously started a request to abort its enlistment object. After the enlistment object is aborted, the resource manager needs to call ITransactionEnlistmentAsync::AbortRequestDone.

Note that the pboidReason parameter is unspecified and should be ignored.

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 txcoord.h

See Also

ITransactionEnlistmentAsync