Table of Contents

Constructor ValidationError

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

ValidationError(ValidationRule, object, object, Exception)

ValidationError ctor

public ValidationError(ValidationRule ruleInError, object bindingInError, object errorContent, Exception exception)

Parameters

ruleInError ValidationRule

rule that detected validation error

bindingInError object

BindingExpression for which validation failed

errorContent object

validation rule specific details to the error

exception Exception

exception that caused the validation failure; optional, can be null

ValidationError(ValidationRule, object)

ValidationError ctor

rule that detected validation error BindingExpression for which validation failed
public ValidationError(ValidationRule ruleInError, object bindingInError)

Parameters

ruleInError ValidationRule
bindingInError object