NonCacheableTypeException Class

Definition

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.

public ref class NonCacheableTypeException sealed : Microsoft::VisualStudio::Tools::Applications::Runtime::RuntimeException
[System.Serializable]
public sealed class NonCacheableTypeException : Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
[<System.Serializable>]
type NonCacheableTypeException = class
    inherit RuntimeException
Public NotInheritable Class NonCacheableTypeException
Inherits RuntimeException
Inheritance
NonCacheableTypeException
Attributes

Remarks

For more information about caching data in document-level customizations, see Caching Data and Accessing Data in Documents on the Server.

Constructors

NonCacheableTypeException()
NonCacheableTypeException(String)
NonCacheableTypeException(String, Exception)

Applies to