Udostępnij za pośrednictwem


ServiceProviderContractAdapter 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 a service provider adapter.

The ServiceProviderContractAdapter type exposes the following members.

Constructors

 

Name

Description

Public method

ServiceProviderContractAdapter

Initializes a new instance of the ServiceProviderContractAdapter class.

Top

Methods

 

Name

Description

Public method

AcquireLifetimeToken

Obtains a lifetime token. (Inherited from ContractBase.)

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. (Overrides ContractBase.GetRemoteHashCode().)

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. (Overrides ContractBase.OnFinalRevoke().)

Public method

QueryContract

Determines whether the current instance implements a specified contract, and returns the instance if it implements the specified contract. (Overrides ContractBase.QueryContract(String).)

Protected method

QueryService

Returns nulla null reference (Nothing in Visual Basic).

Public method

RemoteEquals

Determines whether the underlying service provider is reference equal to a specified contract. (Overrides ContractBase.RemoteEquals(IContract).)

Public method

RemoteToString

Returns a string representation of the underlying service provider. (Overrides ContractBase.RemoteToString().)

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.

Explicit interface implemetationPrivate method

IServiceProviderContract.QueryService

For a description of this member, see IServiceProviderContract.QueryService.

Explicit interface implemetationPrivate method

IProfferServiceContract.RevokeService

For a description of this member, see IProfferServiceContract.RevokeService.

Top

See Also

Reference

ServiceProviderContractAdapter Class

Microsoft.VisualStudio.Tools.Applications Namespace