This documentation is archived and is not being maintained.

ValidationException Constructor

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.

  NameDescription
Public method ValidationException() Initializes a new instance of the ValidationException class using an error message generated by the system.
Public method ValidationException(String) Initializes a new instance of the ValidationException class using a specified error message.
Protected method ValidationException(SerializationInfo, StreamingContext) Initializes a new instance of the ValidationException class using serialized data.
Public method ValidationException(String, Exception) Initializes a new instance of the ValidationException class using a specified error message and a collection of inner exception instances.
Public method 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.
Top
Show: