Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ValidationException Constructor

ValidationException Constructor

.NET Framework 4.6 and 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
Public method ValidationException() Initializes a new instance of the ValidationException class using default values.
Public method ValidationException(String) Initializes a new instance of the ValidationException class with a specified error message.
Protected method ValidationException(SerializationInfo, StreamingContext) Initializes a new instance of the ValidationException class with serialized data.
Public method ValidationException(String, Exception) Initializes a new instance of the ValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Top
Show:
© 2015 Microsoft