Share via


SPListDataValidationException members

The exception that is thrown when data for a list field or list item fails validation.

The SPListDataValidationException type exposes the following members.

Constructors

  Name Description
Protected method SPListDataValidationException Initializes a new instance of the SPListDataValidationException class with the specified serialization information and the specified streaming context.

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 FieldFailures Gets a collection of SPListDataValidationException.SPFailure objects that contain information about field validation failures.
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property ItemFailure Gets an SPListDataValidationException.SPFailure object that contains information about a list item validation failure.
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 Saves information about the exception for serialization. (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

SPListDataValidationException class

Microsoft.SharePoint namespace