ModelError Constructor (String)

Visual Studio 2010

Initializes a new instance of the ModelError class by using the specified error message.

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

public ModelError(
	string errorMessage
)

Parameters

errorMessage
Type: System.String
The error message.

Community Additions

ADD
Show: