ValidationException Constructor
Initializes a new instance of the ValidationException class.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
| Name | Description | |
|---|---|---|
![]() | ValidationException() | Initializes a new instance of the ValidationException class using an error message generated by the system. |
![]() | ValidationException(SerializationInfo, StreamingContext) | Initializes a new instance of the ValidationException class using serialized data. |
![]() | ValidationException(String) | Initializes a new instance of the ValidationException class using a specified error message. |
![]() | ValidationException(String, Exception) | Initializes a new instance of the ValidationException class using a specified error message and a collection of inner exception instances. |
![]() | ValidationException(String, ValidationAttribute, Object) | Initializes a new instance of the ValidationException class using a specified error message, a validation attribute, and the value of the current exception. |
![]() | ValidationException(ValidationResult, ValidationAttribute, Object) | Initializes a new instance of the ValidationException class by using a validation result, a validation attribute, and the value of the current exception. |

