Export (0) Print
Expand All

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.

  Name Description
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.
Public method 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.
Top
Show:
© 2014 Microsoft