ITransaction::GetTransactionInfo

 

Updated: July 19, 2016

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 method returns information regarding a transaction object.

  
HRESULT GetTransactionInfo(   XACTTRANSINFO * pinfo);  

pinfo
[out] Pointer to the caller allocated XACTTRANSINFO structure which will receive information about the transaction. Must not be NULL.

S_OK
Success.

XACT_E_NOTRANSACTION
Unable to retrieve information for the transaction because it was already completed. No information is returned.

E_UNEXPECTED
An unknown error occurred. No information is returned.

E_INVALIDARG
The value of pinfo was NULL.

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

ITransaction2
ITransactionImport
ITransactionDispenser

Show: