Share via


CachedDataTypeMismatchException Class (2007 System)

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.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)

Syntax

'Declaration
<SerializableAttribute> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class CachedDataTypeMismatchException _
    Inherits RuntimeException
'Usage
Dim instance As CachedDataTypeMismatchException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class CachedDataTypeMismatchException : RuntimeException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class CachedDataTypeMismatchException sealed : public RuntimeException
public final class CachedDataTypeMismatchException extends RuntimeException

Remarks

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

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
      Microsoft.VisualStudio.Tools.Applications.Runtime.CachedDataTypeMismatchException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CachedDataTypeMismatchException Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace

Other Resources

Caching Data

Accessing Data in Documents on the Server