ValidationException Constructor
.NET Framework 4.5
Initializes a new instance of the ValidationException class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
ValidationException() | Initializes a new instance of the ValidationException class using an error message generated by the system. |
|
ValidationException(String) | Initializes a new instance of the ValidationException class using a specified error message. |
|
ValidationException(SerializationInfo, StreamingContext) | Initializes a new instance of the ValidationException class using serialized data. |
|
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. |