The ValidationError type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | ToString |
Returns a String that represents the
current ValidationError.
(Overrides Object..::.ToString()()().) |
Properties
Name | Description | |
---|---|---|
![]() | AssociatedEntity |
If the error is that an associated object is invalid, gets the associated
object. Otherwise, returns null.
|
![]() | ChildErrors |
Returns the list of errors for an invalid associated object.
|
![]() | ErrorMessage |
Gets the error message.
|
![]() | PropertyName |
Gets the name of the property in error.
|
![]() | RuleType |
Gets the type of ValidationRule that raised this ValidationError.
|