ValidationException(RuleSetValidationResult, String, String) Constructor
Initializes a new instance of the ValidationException class.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v24.2.dll
NuGet Package: DevExpress.Persistent.Base
Declaration
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