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)

'Declaration
Public Sub New ( _
	errorMessage As String _
)
'Usage
Dim errorMessage As String 

Dim instance As New ModelError(errorMessage)

Parameters

errorMessage
Type: System.String

The error message.

Show: