Skip to main content
.NET 6.0+

ValidationException.GetMessages(ValidationResultType) Method

Returns the error message for a given outcome.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public string GetMessages(
    ValidationResultType resultType
)

Parameters

Name Type Description
resultType ValidationResultType

The ValidationResultType element that represents the outcome type.

Returns

Type Description
String

An error message string with the object name formatted by ValidationException.ObjectHeaderFormat.

See Also