The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ValidationResult Constructor
.NET Framework (current version)
Initializes a new instance of the ValidationResult class.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
| Name | Description | |
|---|---|---|
![]() | ValidationResult(String^) | Initializes a new instance of the ValidationResult class by using an error message. |
![]() | ValidationResult(String^, IEnumerable<String^>^) | Initializes a new instance of the ValidationResult class by using an error message and a list of members that have validation errors. |
![]() | ValidationResult(ValidationResult^) | Initializes a new instance of the ValidationResult class by using a ValidationResult object. |
Show:

