ContractAdapterBase 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.

Serves as a base class for adapters.

The ContractAdapterBase type exposes the following members.

Constructors

 

Name

Description

Protected method

ContractAdapterBase

Initializes a new instance of the ContractAdapterBase 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

Gets the hash code for the current ContractBase object. (Inherited from ContractBase.)

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

When overridden in an add-in-side adapter, releases native resources held by the adapter. (Inherited from ContractBase.)

Public method

QueryContract

Reflects over the instance of a contract and returns the this pointer if the current object implements that contract. (Inherited from ContractBase.)

Protected methodStatic member

RaiseAdapterResolveEvent

Raises the AdapterResolve event.

Public method

RemoteEquals

Compares an object with a remote object for equality. (Inherited from ContractBase.)

Public method

RemoteToString

Gets a string that identifies a remote object. (Inherited from ContractBase.)

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.

Top

See Also

Reference

ContractAdapterBase Class

Microsoft.VisualStudio.Tools.Applications Namespace