Поделиться через


IMTxAS interface

Equivalent to the following C++ functions: GetObjectContext, RecycleSurrogate, and SafeRef.

When to implement

You do not need to implement the IMTxAS interface.

When to use

C++ developers should use the previously listed C++ functions rather than the methods of this interface.

Members

The IMTxAS interface inherits from the IDispatch interface. IMTxAS also has these types of members:

  • Methods

Methods

The IMTxAS interface has these methods.

Method Description
GetObjectContext

Retrieves the context that is associated with the current COM+ object.

RecycleSurrogate

Recycles the calling process.

SafeRef

Do not use in COM+. In MTS, this was used by an object to obtain a reference to itself that could be passed outside its context wrapper.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComSvcs.h

See also

GetObjectContext

RecycleSurrogate

SafeRef