Share via


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

Contains the type maps for a set of adapters that are associated with a specific service provider.

The TypeInfrastructureManager type exposes the following members.

Constructors

 

Name

Description

Public method

TypeInfrastructureManager

Overloaded. Initializes a new instance of the TypeInfrastructureManager class.

Top

Methods

 

Name

Description

Public method

CacheProxy

Caches a proxy object of the specified type that corresponds to the specified contract.

Public methodStatic member

CreateEmptyTypeInfrastructureManager

Overloaded. Creates a new instance of the TypeInfrastructureManager class that has an empty type map.

Public method

Dispose

Infrastructure. Releases all resources used by the TypeInfrastructureManager.

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

GetCanonicalNameForType

Gets the canonical name for the specified type.

Public method

GetCustomException

Extracts the custom exception from the specified exception.

Public method

GetHashCode

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

Public method

GetITypeInfoForCanonicalName

Gets the COM type description for a type specified by its canonical name.

Public methodStatic member

GetProxyTypeOfHostType

Gets the proxy type for a host application type.

Public method

GetSafeException

Serializes the specified exception and inserts it into an AddInException.

Public method

GetType

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

Public method

GetTypeForCanonicalName

Gets the type description for a type specified by its canonical name.

Public method

LocalTypeFromRemoteType

Returns a local type that corresponds to the specified remote type.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

RemoveProxiesFromCache

Removes proxies for the specified contract from the cache.

Public method

ToString

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

Top

Properties

 

Name

Description

Public property

ServiceProvider

Gets the service provider that is associated with the type infrastructure manager.

Top

Events

 

Name

Description

Public event

AdapterResolve

Occurs when a local object that has a non-intrinsic type is passed to or returned by a member of a proxy.

Public event

ProxyResolve

Occurs when an add-in or host application receives a RemoteArgument that must be converted to a proxy object.

Public event

ProxyUnresolved

Occurs when an add-in or host application receives a RemoteArgument that represents a proxy object from a component that is across a remoting boundary, and Visual Studio Tools for Applications cannot determine the type of the proxy object.

Top

See Also

Reference

TypeInfrastructureManager Class

Microsoft.VisualStudio.Tools.Applications Namespace