The ValidationErrorInfo
class represents detailed information about validation errors, including error codes, messages, and other optional constraints.
Properties
Name | Description |
---|
MemberName | Specifies the name of the member associated with the validation error. |
MinValue | Minimum value constraint relevant to the validation error, if applicable. |
Message | Contains the error message describing the validation error. |
MaxValue | Maximum value constraint relevant to the validation error, if applicable. |
Code | Represents the error code associated with the validation error. |
Constructors
Methods
Name | Description |
---|
Equals(obj) | Determines whether the specified object is equal to the current ValidationErrorInfo instance. Overrides Equals from Object . |
ToString() | Returns a string representation of the validation error information, including code, message, and member name. |
GetHashCode() | Returns a hash code for the current ValidationErrorInfo instance. Overrides GetHashCode from Object . |