共用方式為


SPFieldValueException members

Include protected members
Include inherited members

表示清單中的欄位值中偵測到錯誤時擲回的例外狀況。

The SPFieldValueException type exposes the following members.

Constructors

  Name Description
Public method SPFieldValueException(SPListItem, SPField) 初始化具有指定之清單項目及欄位的SPFieldValueException類別的新執行個體。
Public method SPFieldValueException(SPListItem, SPField, String) 初始化具有指定之清單項目、 欄位及訊息之SPFieldValueException類別的新執行個體。
Public method SPFieldValueException(SPListItem, SPField, String, Exception) 初始化具有指定之清單項目、 欄位、 訊息和例外狀況之SPFieldValueException類別的新執行個體。

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode 取得識別例外狀況的整數。 (Inherited from SPException.)
Public property FieldInternalName 內部例外狀況的相關欄位的名稱。
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property ItemId 例外狀況項目識別項。
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 加入指定的序列化資訊的例外狀況的資訊。 (Overrides SPException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

請參閱

參照

SPFieldValueException class

Microsoft.SharePoint namespace