共用方式為


SPException members

Include protected members
Include inherited members

表示在Microsoft SharePoint Foundation中的例外狀況。

The SPException type exposes the following members.

Constructors

  Name Description
Public method SPException() 此成員是保留給內部使用,而不是用來直接從您的程式碼使用
Public method SPException(COMException) 保留給內部使用。初始化SPException類別的新執行個體。
Public method SPException(String) 此成員是保留給內部使用,而不是用來直接從您的程式碼使用
Protected method SPException(SerializationInfo, StreamingContext) 此成員是保留給內部使用,而不是用來直接從您的程式碼使用
Public method SPException(String, Exception) 此成員是保留給內部使用,而不是用來直接從您的程式碼使用
Public method SPException(String, Int32) 此成員是保留給內部使用,而不是用來直接從您的程式碼使用

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode 取得識別例外狀況的整數。
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 取得與這個SPException物件相關聯的原生程式碼錯誤訊息。
Public property NativeStackTrace 取得與這個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 儲存序列化例外狀況的相關資訊。 (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

請參閱

參照

SPException class

Microsoft.SharePoint namespace