Export (0) Print
Expand All

ITransaction::GetTransactionInfo

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.

Platforms: Windows 2000, Windows XP, Windows Server 2003

Header: Declared in transact.h

Show:
© 2015 Microsoft