Share via


SPContentTypeReadOnlyException class

Representa uma exceção que ocorre quando é feita uma tentativa de modificar um objeto de SPContentType é somente leitura.

Inheritance hierarchy

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

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

Syntax

'Declaração
<SerializableAttribute> _
Public Class SPContentTypeReadOnlyException _
    Inherits SPException
'Uso
Dim instance As SPContentTypeReadOnlyException
[SerializableAttribute]
public class SPContentTypeReadOnlyException : SPException

Comentários

Se um objeto SPContentType é somente leitura, o valor da propriedade ReadOnly é 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.

Ver também

Referência

SPContentTypeReadOnlyException members

Microsoft.SharePoint namespace