Condividi tramite


SPFieldValueException Members

Include Protected Members
Include Inherited Members

Represents an exception thrown when an error is detected in the value of a field in a list.

The SPFieldValueException type exposes the following members.

Constructors

  Name Description
Public method SPFieldValueException(SPListItem, SPField) Initializes a new instance of the SPFieldValueException class with the specified list item and field.
Public method SPFieldValueException(SPListItem, SPField, String) Initializes a new instance of the SPFieldValueException class with the specified list item, field, and message.
Public method SPFieldValueException(SPListItem, SPField, String, Exception) Initializes a new instance of the SPFieldValueException class with the specified list item, field, message, and exception.

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 FieldInternalName Internal name of the field involved in the exception.
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property ItemId Exception item identifier.
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 Adds information about the exception to the specified serialization information. (Overrides SPException.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

SPFieldValueException Class

Microsoft.SharePoint Namespace