共用方式為


SPContentTypeReadOnlyException Members

Include Protected Members
Include Inherited Members

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

The SPContentTypeReadOnlyException type exposes the following members.

Constructors

  Name Description
Public method SPContentTypeReadOnlyException() Initializes a new instance of the SPContentTypeReadOnlyException class.
Public method SPContentTypeReadOnlyException(String) Initializes a new instance of the SPContentTypeReadOnlyException class with the specified error message.
Protected method SPContentTypeReadOnlyException(SerializationInfo, StreamingContext) Initializes a new instance of the SPContentTypeReadOnlyException class with the specified serialization data and stream context.
Public method SPContentTypeReadOnlyException(String, Exception) Initializes a new instance of the SPContentTypeReadOnlyException class with the specified error message and exception object.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode Gets an integer that identifies the exception. (Inherited from SPException.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property NativeErrorMessage Gets the native code error message that is associated with this SPException object. (Inherited from SPException.)
Public property NativeStackTrace Gets the native code stack trace associated with this SPException object. (Inherited from SPException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Saves information about the exception for serialization. (Inherited from SPException.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

See Also

Reference

SPContentTypeReadOnlyException Class

Microsoft.SharePoint Namespace