IObjectContextInfo interface (comsvcs.h)

Retrieves transaction, activity, and context information on the current context object. Using the methods of this interface, you can retrieve relevant information contained within an object context.

This interface has been superseded by the IObjectContextInfo2 interface.

Inheritance

The IObjectContextInfo interface inherits from the IUnknown interface. IObjectContextInfo also has these types of members:

Methods

The IObjectContextInfo interface has these methods.

 
IObjectContextInfo::GetActivityId

Retrieves the identifier of the current activity.
IObjectContextInfo::GetContextId

Retrieves the identifier of the current context.
IObjectContextInfo::GetTransaction

Retrieves a reference to the current transaction.
IObjectContextInfo::GetTransactionId

Retrieves the identifier of the current transaction.
IObjectContextInfo::IsInTransaction

Indicates whether the current object is executing in a transaction. (IObjectContextInfo.IsInTransaction)

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

COM+ Contexts and Threading Models

CoGetObjectContext

IObjectContextInfo2