Dela via


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

Communicates with a host adapter by using contracts.

The AddInAdapter type exposes the following members.

Constructors

 

Name

Description

Public method

AddInAdapter

Overloaded. Initializes a new instance of AddInAdapter.

Top

Methods

 

Name

Description

Public method

AcquireLifetimeToken

Obtains a lifetime token. (Inherited from ContractBase.)

Protected method

CompleteInitialization

Completes initialization of the add-in.

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

Protected method

CreateServiceProvider

Creates the add-in representation of the service provider by specifying the IServiceProviderContract and TypeInfrastructureManager.

Public method

Equals

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

Protected method

ExecuteEntryPoints

Marks the end of the initialization of the add-in entry points.

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

Public method

GetType

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

Protected method

InitializeEntryPoints

Initializes the add-in by using Initialize and InitializeDataBindings for the entry point.

Public method

InitializeLifetimeService

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

Protected method

LoadEntryPoints

Loads all entry points in the add-in assembly, and specifies entry-point information.

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

Returns a contract that is implemented by this AddInAdapter. (Overrides ContractBase.QueryContract(String).)

Public method

RemoteEquals

Gets a value that indicates whether the specified contract is the same as the one implemented by this AddInAdapter. (Overrides ContractBase.RemoteEquals(IContract).)

Public method

RemoteToString

Returns a string representation of the current AddInAdapter. (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.)

Protected method

Shutdown

Shuts down the current add-in.

Public method

ToString

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

Top

Properties

 

Name

Description

Protected property

TypeInfrastructureManager

Gets the TypeInfrastructureManager for this add-in.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IEntryPointContract2.ExecuteEntryPoints

For a description of this member, see ExecuteEntryPoints.

Explicit interface implemetationPrivate method

IEntryPointContract2.GetEntryPointObjects

For a description of this member, see GetEntryPointObjects.

Explicit interface implemetationPrivate method

IEntryPointContract2.InitializeEntryPoints

For a description of this member, see InitializeEntryPoints.

Explicit interface implemetationPrivate method

IEntryPointContract2.LoadEntryPoints

For a description of this member, see LoadEntryPoints.

Explicit interface implemetationPrivate method

IEntryPointContract2.Shutdown

For a description of this member, see Shutdown.

Top

See Also

Reference

AddInAdapter Class

Microsoft.VisualStudio.Tools.Applications Namespace