Skip to main content
.NET Framework 4.5.2+

ValidationException(RuleSetValidationResult, String, String) Constructor

Initializes a new instance of the ValidationException class.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v23.1.dll


public ValidationException(
    RuleSetValidationResult result,
    string messageHeader,
    string objectHeaderFormat


Name Type Description
result DevExpress.Persistent.Validation.RuleSetValidationResult

The result of a RuleSet validation.

messageHeader String

Use this parameter to complement a ValidationException.Message.

objectHeaderFormat String

Use this parameter to complement a name of an invalid object.


The default value for objectHeaderFormat property is “{0}”. This placeholder will be replaced by a default property name. You can add text to it or replace the entire string.

See Also