다음을 통해 공유


ITransactionResourceAsync::TMDown

 

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 on this method if the connection to the transaction manager goes down and the resource manager's transaction object is prepared (that is, after the resource manager has called the ITransactionEnlistmentAsync::PrepareRequestDone method). In general, the proxy calls the ITransactionResourceAsync::TMDown method to inform the resource manager that it must perform recovery on that particular transaction.

If the connection between the DTC Proxy and the transaction manager fails, the DTC Proxy first calls the resource manager's ITransactionResourceAsync::TMDown method once for each transaction in which the resource manager is enlisted. The DTC Proxy then calls the resource manager's IResourceManagerSink::TMDown method. This ensures that the resource manager is informed of the failure even if it has no enlisted transactions.

Syntax

  
HRESULT TMDown(void);  
  

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.

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
IResourceManagerSink