Share via


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

Public method

HostServiceProviderAdapter

Initializes a new instance of HostServiceProviderAdapter.

Top

Methods

 

Name

Description

Public method

AcquireLifetimeToken

Obtains a lifetime token. (Inherited from ContractBase.)

Protected method

AdaptHostItemProvider

Returns a contract handle to the IHostItemProvider object (created on the host side) to be passed to the add-in side of the pipeline.

Protected method

AdaptHostTypeProvider

Returns the contract that represents the IHostItemProvider and returns the contract handle to the add-in side of the pipeline.

Public method

CreateObjRef

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetLifetimeService

Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)

Public method

GetRemoteHashCode

Returns a hash code for the underlying service provider. (Inherited from ServiceProviderContractAdapter.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

InitializeLifetimeService

Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)

Protected method

MemberwiseClone

Overloaded.

Protected method

OnFinalRevoke

Releases the unmanaged resources that this object holds. (Inherited from ServiceProviderContractAdapter.)

Public method

QueryContract

Determines whether the current instance implements a specified contract, and returns the instance if it implements the specified contract. (Inherited from ServiceProviderContractAdapter.)

Protected method

QueryService

Returns a contract that has the specified service and name. (Overrides ServiceProviderContractAdapter.QueryService(String, String).)

Public method

RemoteEquals

Determines whether the underlying service provider is reference equal to a specified contract. (Inherited from ServiceProviderContractAdapter.)

Public method

RemoteToString

Returns a string representation of the underlying service provider. (Inherited from ServiceProviderContractAdapter.)

Public method

Renewal

Infrastructure. Requests a sponsoring client to renew the lease for the specified object. (Inherited from ContractBase.)

Public method

RevokeLifetimeToken

Removes the specified token from the list of outstanding lifetime tokens. (Inherited from ContractBase.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

TypeInfrastructureManager

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

Explicit interface implemetationPrivate method

IProfferServiceContract.ProfferService

For a description of this member, see IProfferServiceContract.ProfferService. (Inherited from ServiceProviderContractAdapter.)

Explicit interface implemetationPrivate method

IServiceProviderContract.QueryService

For a description of this member, see IServiceProviderContract.QueryService. (Inherited from ServiceProviderContractAdapter.)

Explicit interface implemetationPrivate method

IProfferServiceContract.RevokeService

For a description of this member, see IProfferServiceContract.RevokeService. (Inherited from ServiceProviderContractAdapter.)

Top

See Also

Reference

HostServiceProviderAdapter Class

Microsoft.VisualStudio.Tools.Applications Namespace