This documentation is archived and is not being maintained.

SPContentTypeReadOnlyException Class

Windows SharePoint Services 3

Represents an exception in Windows SharePoint Services.


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

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPContentTypeReadOnlyException : SPException

The SPContentTypeReadOnlyException class is used to indicate an attempt to modify an SPContentType object that is read-only (that is, the value of the object’s ReadOnly property is true).

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