Export (0) Print
Expand All

DataAnnotationsModelValidator.ErrorMessage Property

.NET Framework 4.5

Gets the error message for a validation failure.

Namespace:  System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

protected internal string ErrorMessage { get; }

Property Value

Type: System.String
The error message.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft