Udostępnij za pośrednictwem


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

Allows delegates to be invoked across application domain and process boundaries through an IRemoteDelegateContract interface.

The RemoteDelegateAdapter type exposes the following members.

Constructors

 

Name

Description

Public method

RemoteDelegateAdapter

Initializes a new instance of the RemoteDelegateAdapter class by using the specified delegate and TypeInfrastructureManager.

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

Protected method

GetRemoteType

Returns the RemoteTypeAdapter associated with the current RemoteObjectAdapter. (Inherited from RemoteObjectAdapter.)

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

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

Protected method

RemoteCast

Casts the object represented by the current RemoteObjectAdapter to a specified type. (Inherited from RemoteObjectAdapter.)

Public method

RemoteEquals

Returns a value that indicates whether the specified IContract is equal to the object represented by the current RemoteObjectAdapter. (Inherited from RemoteObjectAdapter.)

Public method

RemoteToString

Returns a string representation of the object represented by the RemoteObjectAdapter. (Inherited from RemoteObjectAdapter.)

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

SetReflectedType

Initializes the current RemoteObjectAdapter by using the specified host application object and object type. (Inherited from RemoteObjectAdapter.)

Public method

ToString

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

Top

Properties

 

Name

Description

Protected property

ReflectedObject

Gets the object represented by the RemoteObjectAdapter. (Inherited from RemoteObjectAdapter.)

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

IInteropObjectContract2.GetIUnknownInProcess

For a description of this member, see GetIUnknownInProcess. (Inherited from RemoteObjectAdapter.)

Explicit interface implemetationPrivate method

IRemoteObjectContract.GetRemoteType

Returns the IRemoteTypeContract associated with the current RemoteObjectAdapter. (Inherited from RemoteObjectAdapter.)

Explicit interface implemetationPrivate method

IRemoteDelegateContract.InvokeDelegate

For a description of this member, see InvokeDelegate.

Explicit interface implemetationPrivate method

IInteropObjectContract2.MarshalIUnknown

For a description of this member, see MarshalIUnknown. (Inherited from RemoteObjectAdapter.)

Explicit interface implemetationPrivate property

IAdapter.ReflectedObject

For a description of this member, see ReflectedObject. (Inherited from RemoteObjectAdapter.)

Explicit interface implemetationPrivate method

IRemoteObjectContract.RemoteCast

Casts the object represented by the current RemoteObjectAdapter to a specified type. (Inherited from RemoteObjectAdapter.)

Top

See Also

Reference

RemoteDelegateAdapter Class

Microsoft.VisualStudio.Tools.Applications Namespace