Constructor ValidationError
ValidationError(ValidationRule, object, object, Exception)
ValidationError ctor
public ValidationError(ValidationRule ruleInError, object bindingInError, object errorContent, Exception exception)
Parameters
ruleInError
ValidationRulerule that detected validation error
bindingInError
objectBindingExpression for which validation failed
errorContent
objectvalidation rule specific details to the error
exception
Exceptionexception that caused the validation failure; optional, can be null
ValidationError(ValidationRule, object)
ValidationError ctor
rule that detected validation error BindingExpression for which validation failedpublic ValidationError(ValidationRule ruleInError, object bindingInError)
Parameters
ruleInError
ValidationRulebindingInError
object