Partager via


SPContentTypeSealedException Class

Represents an exception in Windows SharePoint Services.

Inheritance Hierarchy

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

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

Syntax

<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPContentTypeSealedException _
    Inherits SPException

Dim instance As SPContentTypeSealedException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPContentTypeSealedException : SPException

Remarks

The SPContentTypeSealedException class is used to indicate an attempt to modify an SPContentType object that is sealed (that is, the value of the object’s Sealed 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

SPContentTypeSealedException Members

Microsoft.SharePoint Namespace

Sealed

SPContentTypeReadOnlyException

SPException

Other Resources

Content Type Change Control