SPException members

Represents an exception in Microsoft SharePoint Foundation.

The SPException type exposes the following members.

Constructors

  Name Description
Public method SPException() This member is reserved for internal use and is not intended to be used directly from your code.
Public method SPException(COMException) Reserved for internal use. Initializes a new instance of the SPException class.
Public method SPException(String) This member is reserved for internal use and is not intended to be used directly from your code.
Protected method SPException(SerializationInfo, StreamingContext) This member is reserved for internal use and is not intended to be used directly from your code.
Public method SPException(String, Exception) This member is reserved for internal use and is not intended to be used directly from your code.
Public method SPException(String, Int32) This member is reserved for internal use and is not intended to be used directly from your code.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode Gets an integer that identifies the exception.
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.
Public property NativeStackTrace Gets the native code stack trace associated with this SPException object.
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. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

See also

Reference

SPException class

Microsoft.SharePoint namespace