SP.ListDataValidationFailure object
Describes a specific validation failure when a list item is inserted or updated.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.ListDataValidationFailure()
Members
The ListDataValidationFailure object has the following members.
Constructor
The ListDataValidationFailure object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the SP.ListDataValidationFailure object. |
Methods
The ListDataValidationFailure object has the following methods.
Method |
Description |
---|---|
Properties
The ListDataValidationFailure object has the following properties.
Property |
Description |
---|---|
Gets the title of the list or the display name of the field where validation failed. |
|
Gets a message with information about the failure. |
|
Gets the field name or list ID where validation failed. |
|
Gets the reason for the failure. |
|
This member is reserved for internal use and is not intended to be used directly from your code. |
|
Describes the type of validation that caused the failure. |
Remarks
This is equivalent the SPListDataValidationException.SPFailure server-side class.