Skip to content

Latest commit

 

History

History
100 lines (84 loc) · 2.64 KB

nf-comsvcs-iobjectcontextinfo-gettransactionid.md

File metadata and controls

100 lines (84 loc) · 2.64 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:comsvcs.IObjectContextInfo.GetTransactionId
IObjectContextInfo::GetTransactionId (comsvcs.h)
Retrieves the identifier of the current transaction.
GetTransactionId
GetTransactionId method [COM+]
GetTransactionId method [COM+]
IObjectContextInfo interface
IObjectContextInfo interface [COM+]
GetTransactionId method
IObjectContextInfo.GetTransactionId
IObjectContextInfo::GetTransactionId
_cos_IObjectContextInfo_GetTransactionId
comsvcs/IObjectContextInfo::GetTransactionId
cos.iobjectcontextinfo_gettransactionid
cos\iobjectcontextinfo_gettransactionid.htm
cos
c8aa6fe8-acb2-4e00-a7fc-605bb56969e6
12/05/2018
GetTransactionId, GetTransactionId method [COM+], GetTransactionId method [COM+],IObjectContextInfo interface, IObjectContextInfo interface [COM+],GetTransactionId method, IObjectContextInfo.GetTransactionId, IObjectContextInfo::GetTransactionId, _cos_IObjectContextInfo_GetTransactionId, comsvcs/IObjectContextInfo::GetTransactionId, cos.iobjectcontextinfo_gettransactionid
comsvcs.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
IObjectContextInfo::GetTransactionId
comsvcs/IObjectContextInfo::GetTransactionId
c++
APIRef
kbSyntax
COM
ComSvcs.h
IObjectContextInfo.GetTransactionId

IObjectContextInfo::GetTransactionId

-description

Retrieves the identifier of the current transaction.

-parameters

-param pGuid [out]

A GUID that identifies the current transaction.

-returns

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.

Return code Description
S_OK
The method completed successfully.
S_FALSE
The object is not executing in a transaction.

-remarks

Objects in the same transaction share the same transaction identifier.

-see-also

IObjectContextInfo