SPDistributedCacheNotEnoughCacheHostsPresentException class

This error indicates that a cache is read only, because there are not enough cache hosts to comply with the high availability requirements

Inheritance hierarchy

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

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 SPDistributedCacheNotEnoughCacheHostsPresentException _
    Inherits SPDistributedCacheException
'Usage
Dim instance As SPDistributedCacheNotEnoughCacheHostsPresentException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPDistributedCacheNotEnoughCacheHostsPresentException : 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

SPDistributedCacheNotEnoughCacheHostsPresentException members

Microsoft.SharePoint.DistributedCaching namespace