Share via


ITransaction2::GetTransactionInfo2

 

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.

Syntax

  
HRESULT GetTransactionInfo2(   XACTTRANSINFO * pinfo);  

Parameters

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

Return Values

S_OK
Success.

E_UNEXPECTED
An unknown error occurred. No information is returned.

E_INVALIDARG
The value of pinfo was NULL.

Remarks

The behavior of GetTransactionInfo2 differs from that of GetTransactionInfo by allowing the calling application to retrieve information about the transaction after it has completed.

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

See Also

ITransaction
ITransactionCloner