HostServiceProviderAdapter 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 services on the adapter that represents the service provider on the host side.
The HostServiceProviderAdapter type exposes the following members.
Constructors
Name
Description
Initializes a new instance of HostServiceProviderAdapter.
Top
Methods
Name
Description
Obtains a lifetime token. (Inherited from ContractBase.)
Returns a contract handle to the IHostItemProvider object (created on the host side) to be passed to the add-in side of the pipeline.
Returns the contract that represents the IHostItemProvider and returns the contract handle to the add-in side of the pipeline.
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.)
Returns a hash code for the underlying service provider. (Inherited from ServiceProviderContractAdapter.)
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.
Releases the unmanaged resources that this object holds. (Inherited from ServiceProviderContractAdapter.)
Determines whether the current instance implements a specified contract, and returns the instance if it implements the specified contract. (Inherited from ServiceProviderContractAdapter.)
Returns a contract that has the specified service and name. (Overrides ServiceProviderContractAdapter.QueryService(String, String).)
Determines whether the underlying service provider is reference equal to a specified contract. (Inherited from ServiceProviderContractAdapter.)
Returns a string representation of the underlying service provider. (Inherited from ServiceProviderContractAdapter.)
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
IProfferServiceContract.ProfferService
For a description of this member, see IProfferServiceContract.ProfferService. (Inherited from ServiceProviderContractAdapter.)
IServiceProviderContract.QueryService
For a description of this member, see IServiceProviderContract.QueryService. (Inherited from ServiceProviderContractAdapter.)
IProfferServiceContract.RevokeService
For a description of this member, see IProfferServiceContract.RevokeService. (Inherited from ServiceProviderContractAdapter.)
Top