Represents a container for the results of a validation request.
Assemblies: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
System.ComponentModel.Annotations (in System.ComponentModel.Annotations.dll)
Thetype exposes the following members.
|ValidationResult(String)||Initializes a new instance of the class by using an error message.|
|ValidationResult(ValidationResult)||Initializes a new instance of the class by using a object.|
|ValidationResult(String, IEnumerable(Of String))||Initializes a new instance of the class by using an error message and a list of members that have validation errors.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string representation of the current validation result. (Overrides Object.ToString.)|
In .NET Framework Client Profile 4, this member is inherited from Object.ToString.