HostItemProviderAdapter 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.
Provides methods for managing objects on the host.
The HostItemProviderAdapter type exposes the following members.
Constructors
Name
Description
Initializes a new instance of HostItemProviderAdapter by specifying the item provider and the type infrastructure manager.
Top
Methods
Name
Description
Obtains a lifetime token. (Inherited from ContractBase.)
Creates an appropriate adapter for the host object that is to be returned to the add-in.
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.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
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.)
Gets a hashcode for the item. (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.)
Returns the type represented by the supplied canonical name.
Overloaded.
When overridden in an add-in-side adapter, releases native resources held by the adapter. (Inherited from ContractBase.)
Returns a contract after its name is specified. (Overrides ContractBase.QueryContract(String).)
Gets a value that specifies whether the current instance is the same as a specified contract. (Overrides ContractBase.RemoteEquals(IContract).)
Returns a string representation of the current 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
IHostItemProviderContract2.GetHostObject
For a description of this member, see GetHostObject.
Top