Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ErrorMessage Property
Collapse the table of content
Expand the table of content

ModelError.ErrorMessage Property


Gets or sets the error message.

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

public string ErrorMessage { get; private set; }

Property Value

Type: System.String

The error message.

Return to top
© 2015 Microsoft