Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ValidationException(RuleSetValidationResult, String, String) Constructor

Initializes a new instance of the ValidationException class.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v24.2.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