SPContentTypeReadOnlyException class

Represents an exception that occurs when an attempt is made to modify an SPContentType object that is read-only.

Inheritance hierarchy


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


<SerializableAttribute> _
Public Class SPContentTypeReadOnlyException _
    Inherits SPException
Dim instance As SPContentTypeReadOnlyException
public class SPContentTypeReadOnlyException : SPException


If an SPContentType object is read-only, the value of its ReadOnly property is true.

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


SPContentTypeReadOnlyException members

Microsoft.SharePoint namespace