.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ValidationException.GetMessages(ValidationResultType) Method

Returns the error message for a given outcome.

Namespace: DevExpress.Persistent.Validation

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