SPListDataValidationException.SPReason Enumeration

Describes the reason why a list item or a list item field failed validation.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


<ClientCallableTypeAttribute(Name := "ListDataValidationFailureReason")> _
Public Enumeration SPReason
Dim instance As SPListDataValidationException.SPReason
[ClientCallableTypeAttribute(Name = "ListDataValidationFailureReason")]
public enum SPReason


Member name Description
DataFailure The data validation formula evaluates to false or to a value equivalent to false such as zero for numeric types.
FormulaError The data validation formula contains an error.

See Also


Microsoft.SharePoint Namespace