Microsoft.VisualStudio.Tools.Applications.Runtime Namespace

 

The Microsoft.VisualStudio.Tools.Applications.Runtime namespace contains classes that support data caching in documents, and classes that are part of the Visual Studio Tools for Office runtime.

ClassDescription
System_CAPS_pubclassAddInException

The exception that is thrown when an exception is passed between an add-in and the host application.

System_CAPS_pubclassCacheAlreadyLoadedException

The exception that is thrown when a document-level customization attempts to load the data cache in a document after the data cache has already been loaded.

System_CAPS_pubclassCachedAttribute

Instructs the Visual Studio Tools for Office runtime to add the specified data object to the data cache in the document.

System_CAPS_pubclassCachedDataCouldNotBeSerializedException

The exception that is thrown when an attempt to serialize cached data in a document-level customization fails.

System_CAPS_pubclassCachedDataTypeMismatchException

The exception that is thrown when the XML serialized state of an object in the data cache does not match the type information for the object in the cached data manifest.

System_CAPS_pubclassCannotCacheInNonStartupException

This exception is not used by the Visual Studio 2010 Tools for Office Runtime. It is included in this version of the runtime to maintain compatibility with code that was compiled using earlier versions of the runtime.

System_CAPS_pubclassCannotCreateCustomizationDomainException

The exception that is thrown when an application domain cannot be created and the assembly for an Office solution cannot be loaded.

System_CAPS_pubclassCannotCreateStartupObjectException

The exception that is thrown when a host item class in an Office solution assembly cannot be instantiated.

System_CAPS_pubclassCannotFindMemberException

The exception that is thrown when you try to programmatically add or remove an object from the data cache in a document-level customization, but the specified object is not declared in the specified host item class.

System_CAPS_pubclassCannotFindObjectToFillException

The exception that is thrown when the Visual Studio Tools for Office runtime cannot locate an object in the data cache of a document-level customization.

System_CAPS_pubclassCannotFindStartupObjectAssemblyException

This exception is not used by the Visual Studio 2010 Tools for Office Runtime. It is included in this version of the runtime to maintain compatibility with code that was compiled using earlier versions of the runtime.

System_CAPS_pubclassCannotLoadManifestException

The exception that is thrown when the manifest in the document cannot be loaded.

System_CAPS_pubclassCannotRetrieveAppInfoException

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubclassCannotRetrieveCachedDataException

The exception that is thrown when the cached data in the document is corrupted or missing.

System_CAPS_pubclassControlCouldNotBeInitializedException

The exception that is thrown when a control that was added to a document in an Office solution could not be initialized.

System_CAPS_pubclassControlNotFoundException

The exception that is thrown when an attempt is made to reference a control in a document-level customization, but the control does not exist.

System_CAPS_pubclassDocumentAlreadyCustomizedException

The exception that is thrown when you attempt to attach a customization to a document that is already part of a document-level customization that was created by using Office development tools in Visual Studio.

System_CAPS_pubclassDocumentAlreadyLoadedException

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubclassDocumentClosedException

The exception that is thrown when you attempt to perform an operation using the ServerDocument class on a closed document.

System_CAPS_pubclassDocumentCustomizedWithPreviousRuntimeException

The exception that is thrown when you attempt to use the ServerDocument class to perform an operation on a document-level customization that was created by using an earlier version of the Office development tools in Visual Studio.

System_CAPS_pubclassDocumentNotCustomizedException

The exception that is thrown when you try to perform an invalid operation on a document by using the ServerDocument class.

System_CAPS_pubclassDocumentNotLoadedException

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubclassHostAssemblyAttribute

Specifies that the assembly in which this attribute appears contains proxy types for the types exposed by the host application.

System_CAPS_pubclassHostEventAttribute

Relates an event in a proxy type to an event in the host application.

System_CAPS_pubclassHostMemberAttribute

Sets the way that methods and properties in the proxy are bound to the corresponding members in the host application's object model.

System_CAPS_pubclassHostTypeAttribute

Specifies the relationship between a type and its canonical name.

System_CAPS_pubclassInvalidDeployManifestException

This exception is not used by the Visual Studio 2010 Tools for Office Runtime. It is included in this version of the runtime to maintain compatibility with code that was compiled using earlier versions of the runtime.

System_CAPS_pubclassInvalidManifestException

This exception is thrown when the application manifest or cached data manifest for the Office solution is not valid.

System_CAPS_pubclassInvalidNewApplicationManifestException

This exception is not used by the Visual Studio 2010 Tools for Office Runtime. It is included in this version of the runtime to maintain compatibility with code that was compiled using earlier versions of the runtime.

System_CAPS_pubclassItemAlreadyInCacheException

The exception that is thrown when an attempt is made to add an item to the data cache in a document-level customization, but the item already exists in the cache.

System_CAPS_pubclassItemNotInCacheException

The exception that is thrown when an attempt is made to retrieve an item from the data cache in a document-level customization, but the item does not exist.

System_CAPS_pubclassManifestNotExecutedException

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubclassMissingDataIdException

The exception that is thrown when a ServerDocument object is saved while the cached data manifest contains a CachedDataItem with an Id property that is null or an empty string.

System_CAPS_pubclassMissingHostItemIdException

The exception that is thrown when a ServerDocument object is saved while the cached data manifest contains a CachedDataHostItem with an Id property that is null or an empty string.

System_CAPS_pubclassMissingTypeException

The exception that is thrown when a ServerDocument object is saved while the cached data manifest contains a CachedDataItem with a DataType property that is null or an empty string.

System_CAPS_pubclassMultipleCachedDataCouldNotBeSerializedException

The exception that is thrown when more than one cached data object could not be serialized in a document-level customization.

System_CAPS_pubclassNonCacheableTypeException

The exception that is thrown when an attempt is made to cache an object in a document-level customization, but the type of the object is not a DataSet, DataTable, or a type that meets the requirements specified in Caching Data.

System_CAPS_pubclassNoStartupObjectsException

This exception is thrown when a solution assembly that was created by using Office development tools in Visual Studio does not contain a startup object.

System_CAPS_pubclassNotAvailableOfflineException

This exception is not used by the Visual Studio 2010 Tools for Office Runtime. It is included in this version of the runtime to maintain compatibility with code that was compiled using earlier versions of the runtime.

System_CAPS_pubclassNotAvailableOnlineException

This exception is not used by the Visual Studio 2010 Tools for Office Runtime. It is included in this version of the runtime to maintain compatibility with code that was compiled using earlier versions of the runtime.

System_CAPS_pubclassRuntimeException

Provides the base class for exceptions in Visual Studio Tools for Office runtime.

System_CAPS_pubclassSafeArrayDefaultRankAttribute

Defines the default rank of an array.

System_CAPS_pubclassStartupObjectAttribute

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubclassUnknownCustomizationFileException

The exception that is thrown when you pass a file with an extension that is not supported by Office development tools in Visual Studio to a ServerDocument constructor or method.

System_CAPS_pubclassUpdateFailedException

This exception is not used by the Visual Studio 2010 Tools for Office Runtime. It is included in this version of the runtime to maintain compatibility with code that was compiled using earlier versions of the runtime.

InterfaceDescription
System_CAPS_pubinterfaceIAppInfo

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceIAppInfoDocument

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceICachedType

Customizes the caching behavior of a type in document-level customizations.

System_CAPS_pubinterfaceIComAddInAutomationServiceProviderCallback

This API supports the product infrastructure and is not intended to be used directly from your code.

EnumerationDescription
System_CAPS_pubenumHostEventMethodType

Indicates the type of the method in the host application that corresponds to a method in an add-in.

The Microsoft.VisualStudio.Tools.Applications.Runtime namespace contains the following classes:

  • CachedAttribute. Use this attribute to add an object in a document-level customization to the data cache in the document. For more information, see Caching Data.

  • The ICachedType interface. You can optionally implement this interface on objects that you add to the data cache in a document. Implement this interface if you want to gain greater control over the caching behavior of the object.

  • Exceptions that can be thrown by the Visual Studio Tools for Office runtime.

  • Other classes that are part of the Visual Studio infrastructure, and are not intended to be used directly by your code.

Return to top
Show: