InteropAdapter Members
Include Protected Members
Include Inherited Members
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Represents an adapter that wraps and exposes COM objects to the managed add-in infrastructure, and supplies managed objects to COM.
The InteropAdapter type exposes the following members.
Constructors
Name
Description
Overloaded. Initializes a new instance of the InteropAdapter class.
Top
Methods
Name
Description
Obtains a lifetime token. (Inherited from ContractBase.)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Releases unmanaged resources before the InteropAdapter is reclaimed by garbage collection. (Overrides Object.Finalize().)
Serves as a hash function for a particular type. (Inherited from Object.)
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Returns a hash code for this instance. (Overrides ContractBase.GetRemoteHashCode().)
Gets the type of the current instance. (Inherited from Object.)
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Overloaded.
When overridden in a derived class, releases unmanaged resources that are held by the adapter. (Overrides ContractBase.OnFinalRevoke().)
Returns a specified contract that is implemented by this adapter. (Overrides ContractBase.QueryContract(String).)
Determines whether a specified contract is equal to this instance. (Overrides ContractBase.RemoteEquals(IContract).)
Returns a string representation of this instance. (Overrides ContractBase.RemoteToString().)
Infrastructure. Requests a sponsoring client to renew the lease for the specified object. (Inherited from ContractBase.)
Removes the specified token from the list of outstanding lifetime tokens. (Inherited from ContractBase.)
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets the type infrastructure manager that contains the type maps and the service provider for the current ContractAdapterBase. (Inherited from ContractAdapterBase.)
Top
Explicit Interface Implementations
Name
Description
IInteropObjectContract2.GetIUnknownInProcess
For a description of this member, see IInteropObjectContract2.GetIUnknownInProcess.
IInteropObjectContract2.MarshalIUnknown
For a description of this member, see IInteropObjectContract2.MarshalIUnknown.
Top