RuleValidationResult(IRule, Object, ValidationState, String) Constructor
OBSOLETE
Use the RuleValidationResult(IRule rule, ValidationState validationResult, string formattedErrorMessage) constructor instead
Initializes a new instance of the RuleValidationResult class.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v24.1.dll
NuGet Package: DevExpress.Persistent.Base
Declaration
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. |
validationResult | ValidationState | A ValidationState enumeration value which specifies whether the checked object satisfies the rule. |
formattedErrorMessage | String | A string holding the exception message, if the checked rule is broken. |
See Also