Sdílet prostřednictvím


ValidationException Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public method ValidationException() Initializes a new instance of the ValidationException class.
Public method ValidationException(String) Initializes a new instance of the ValidationException class with the specified error message.
Public method ValidationException(String, Exception) Initializes a new instance of the ValidationException class with the specified error message and an inner exception.
Public method ValidationException(String, ValidationAttribute, Object) Initializes a new instance of the ValidationException class with the specified error message, the attribute that triggered the exception, and the invalid value.
Public method ValidationException(ValidationResult, ValidationAttribute, Object) Initializes a new instance of the ValidationException class with the specified validation result, the attribute that triggered the exception, and the invalid value.

Top