ValidationResult Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ValidationResult class.

Namespace:   System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

NameDescription
System_CAPS_pubmethodValidationResult(String)

Initializes a new instance of the ValidationResult class by using an error message.

System_CAPS_pubmethodValidationResult(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.

System_CAPS_protmethodValidationResult(ValidationResult)

Initializes a new instance of the ValidationResult class by using a ValidationResult object.

Return to top
Show: