다음을 통해 공유


SPContentTypeReadOnlyException Class

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

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.SPException
        Microsoft.SharePoint.SPContentTypeReadOnlyException

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SerializableAttribute> _
Public Class SPContentTypeReadOnlyException _
    Inherits SPException
'Usage
Dim instance As SPContentTypeReadOnlyException
[SerializableAttribute]
public class SPContentTypeReadOnlyException : SPException

Remarks

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

Reference

SPContentTypeReadOnlyException Members

Microsoft.SharePoint Namespace