Partilhar via


SPListDataValidationException Class

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

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.SPException
        Microsoft.SharePoint.SPListDataValidationException

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

Syntax

'Declaration
<SerializableAttribute> _
<ClientCallableTypeAttribute(Name := "ListDataValidationExceptionValue", ServerTypeId := "356fe248-721a-4adf-af96-20822bc5476e",  _
    ValueObject := True)> _
Public Class SPListDataValidationException _
    Inherits SPException
'Usage
Dim instance As SPListDataValidationException
[SerializableAttribute]
[ClientCallableTypeAttribute(Name = "ListDataValidationExceptionValue", ServerTypeId = "356fe248-721a-4adf-af96-20822bc5476e", 
    ValueObject = true)]
public class SPListDataValidationException : SPException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPListDataValidationException Members

Microsoft.SharePoint Namespace