共用方式為


SPFieldValidationException members

Include protected members
Include inherited members

表示欄位的值驗證期間發生錯誤時擲回的例外狀況。

The SPFieldValidationException type exposes the following members.

Constructors

  Name Description
Public method SPFieldValidationException() 初始化SPFieldValidationException類別的新執行個體。
Public method SPFieldValidationException(String) 初始化根據指定的訊息的SPFieldValidationException類別的新執行個體。
Protected method SPFieldValidationException(SerializationInfo, StreamingContext) 初始化根據指定的序列化和資料流內容的相關資訊的SPFieldValidationException類別的新執行個體。
Public method SPFieldValidationException(String, Exception) 初始化根據指定的訊息和例外狀況的SPFieldValidationException類別的新執行個體。
Public method SPFieldValidationException(String, Int32) 初始化根據指定的訊息和錯誤程式碼的SPFieldValidationException類別的新執行個體。

Top

Properties

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

Top

請參閱

參照

SPFieldValidationException class

Microsoft.SharePoint namespace