RuleValidationResult(IRule, Object, ValidationState, String) Constructor
In This Article
OBSOLETE
Use the Rule
Initializes a new instance of the RuleValidationResult class.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v24.2.dll
NuGet Package: DevExpress.Persistent.Base
#Declaration
[Obsolete("Use the RuleValidationResult(IRule rule, ValidationState validationResult, string formattedErrorMessage) constructor instead")]
[Browsable(false)]
public RuleValidationResult(
IRule rule,
object target,
ValidationState validationResult,
string formattedErrorMessage
)
#Parameters
Name | Type | Description |
---|---|---|
rule | IRule | An IRule object which represents the checked Validation Rule. |
target | Object | An object that was checked with the rule. |
validation |
Validation |
A Validation |
formatted |
String | A string holding the exception message, if the checked rule is broken. |
See Also