Condividi tramite


ModelError Constructor (String)

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)

Syntax

'Declaration
Public Sub New ( _
    errorMessage As String _
)
public ModelError(
    string errorMessage
)
public:
ModelError(
    String^ errorMessage
)

Parameters

See Also

Reference

ModelError Class

ModelError Overload

System.Web.Mvc Namespace