Share via


SPDistributedCachedObjectNotSerializableException class

Object not Serializable Exception

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.DistributedCaching.SPDistributedCacheException
      Microsoft.SharePoint.DistributedCaching.SPDistributedCachedObjectNotSerializableException

Namespace:  Microsoft.SharePoint.DistributedCaching
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPDistributedCachedObjectNotSerializableException _
    Inherits SPDistributedCacheException
'Usage
Dim instance As SPDistributedCachedObjectNotSerializableException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPDistributedCachedObjectNotSerializableException : SPDistributedCacheException

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

SPDistributedCachedObjectNotSerializableException members

Microsoft.SharePoint.DistributedCaching namespace