ValidationException(RuleSetValidationResult, String, String) Constructor

Initializes a new instance of the ValidationException class.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v18.2.dll

Declaration

public ValidationException(
    RuleSetValidationResult result,
    string messageHeader,
    string objectHeaderFormat
)
Public Sub New(
    result As RuleSetValidationResult,
    messageHeader As String,
    objectHeaderFormat As String
)

Parameters

Type Name Description
DevExpress.Persistent.Validation.RuleSetValidationResult result

The result of a RuleSet validation.

String messageHeader

Use this parameter to complement a ValidationException.Message.

String objectHeaderFormat

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