We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Microsoft.VisualStudio.Tools.Applications Namespace

The Microsoft.VisualStudio.Tools.Applications namespace contains adapters and utility classes that enable the host application and the add-in to communicate across AppDomain and process boundaries.

The majority of Visual Studio Tools for Applications adapters implement Visual Studio Tools for Applications contracts. Visual Studio Tools for Applications uses these adapters to initialize add-ins, manage host items, host objects, and host types, manage host services, and convert objects and type abstractions across AppDomain and process boundaries.

Public classAdapterResolveEventArgsInfrastructure. Provides data for the AdapterResolve event.
Public classAddInAdapterInfrastructure. Communicates with a host adapter by using contracts.
Public classAddInStoreExtensionsProvides extension methods for the AddInStore class.
Public classAddInTokenExtensionsAdds extension methods to the AddInToken class.
Public classAppInfoDocumentAddInAdapterInfrastructure.
Public classAppInfoDocumentHostAdapterInfrastructure.
Public classArrayContractAdapter<TContract>Infrastructure. Represents an array of IContract objects.
Public classContractAdapterBaseInfrastructure. Serves as a base class for adapters.
Public classContractLockInfrastructure. Obsolete. Manages the lifetime of an IContract.
Public classContractLock<T>Infrastructure. Controls the lifetime of a pipeline component that represents an IContract implementation.
Public classContractNotSupportedExceptionInfrastructure. The exception that is thrown when an object does not support a required contract.
Public classContractProxyBase<T>Infrastructure. Serves as a base class for contract proxy objects.
Public classCustomAttributeProviderAdapterInfrastructure. Represents a custom attribute provider adapter.
Public classDynamicProxyInfrastructure. Contains methods that create a Visual Studio Tools for Applications-specific implementation of the proxy that represents a specified IContract or COM object.
Public classEntryPointHostAdapterInfrastructure. Represents the host side of the pipeline that enables initial discovery and invocation of the add-in.
Public classEnumeratorContractAdapter<TContract>Infrastructure. Represents a contract that represents an enumerator that enumerates contracts.
Public classHostItemProviderAdapterInfrastructure. Provides methods for managing objects on the host.
Public classHostServiceProviderAdapterInfrastructure. Provides methods for managing services on the adapter that represents the service provider on the host side.
Public classHostTypeProviderAdapterInfrastructure. Represents the host side of the pipeline that interacts with the host type provider.
Public classInteropAdapterInfrastructure. Represents an adapter that wraps and exposes COM objects to the managed add-in infrastructure, and supplies managed objects to COM.
Public classInteropProxyInfrastructure. Provides methods for creating proxies for COM objects or for contracts that represent COM objects.
Public classListContractAdapter<TContract>Infrastructure. Represents an IListContract<C> object.
Public classProxyResolveEventArgsInfrastructure. Provides data for the ProxyResolve and ProxyUnresolved events.
Public classRegistrationMethodAttributeInfrastructure. Identifies the proxy registration method in a proxy assembly.
Public classRemoteArgumentArrayContractAdapterInfrastructure. Represents an array of RemoteArgument objects that can be passed between contracts.
Public classRemoteArgumentArrayListContractAdapterInfrastructure. Represents a list of RemoteArgument objects that can be passed between contracts.
Public classRemoteArgumentDictionaryContractAdapterInfrastructure. Represents a collection of RemoteArgument objects that are stored as key/value pairs.
Public classRemoteDelegateAdapterInfrastructure. Allows delegates to be invoked across application domain and process boundaries through an IRemoteDelegateContract interface.
Public classRemoteObjectInfrastructure. Obsolete. Provides a proxy object for an instance of IRemoteObjectContract that can be accessed across application domain and process boundaries.
Public classRemoteObjectAdapterInfrastructure. Implements the contracts that represent remote objects across a versioning boundary.
Public classRemoteTypeAdapterInfrastructure. Represents a type that can be reflected across application domain or process boundaries.
Public classSerializableObjectAdapterInfrastructure. Represents the serialized state of a serializable remote object.
Public classSerializableObjectContractFormatterInfrastructure. Provides methods to serialize an object and to deserialize a tree of remote arguments.
Public classServiceProviderContractAdapterInfrastructure. Represents a service provider adapter.
Public classTypeInfrastructureManagerInfrastructure. Contains the type maps for a set of adapters that are associated with a specific service provider.
Public classTypeServicesInfrastructure. Provides utility methods that perform tasks related to proxy and adapter types.
Public classUnsafeSerializationExceptionInfrastructure. The exception that is thrown when Visual Studio Tools for Applications tries to serialize an object that is not serializable.

Public structureSegmentConstraintsSpecifies constraints on a pipeline segment.

Public interfaceIAdapterInfrastructure. Defines a property that gets the object that is reflected by an adapter.
Public interfaceIExtendedMultipleEntryPointExtends IMultipleEntryPoint to enable the host application to specify and invoke multiple entry points in the add-in.
Public interfaceIMultipleEntryPointRepresents a view that can be used to specify multiple entry points in an add-in.
Public interfaceIProxyInfrastructure. Defines a property that gets an IContract implementation.

Public enumerationExtensionPipelineStoreLocationSpecifies alternative locations for a pipeline store instead of a path of a directory.