Skip to main content
.NET 6.0+

ValidationException(RuleSetValidationResult, String, String) Constructor

Initializes a new instance of the ValidationException class.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public ValidationException(
    RuleSetValidationResult result,
    string messageHeader,
    string objectHeaderFormat
)

Parameters

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.

Remarks

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