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.v18.2.dll
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. |
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