Condividi tramite


SPListDataValidationException.SPFailure Members

Include Protected Members
Include Inherited Members

Describes a specific validation failure when a list item is inserted or updated.

The SPListDataValidationException.SPFailure type exposes the following members.

Properties

  Name Description
Public property DisplayName Gets the field display name if field-level validation failed or the list-title if item-level validation failed when a list item is either inserted or updated.
Public property Message Gets a message with information about the failure.
Public property Name Gets the name of the field or the ID of the list where validation failed.
Public property Reason Gets the reason for the failure.
Public property ValidationType Describes the type of validation that caused this failure.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPListDataValidationException.SPFailure Class

Microsoft.SharePoint Namespace