ModelError Constructor (String)

.NET Framework (current version)
 

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

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

Public Sub New (
	errorMessage As String
)

Parameters

errorMessage
Type: System.String

The error message.

.NET Framework
Available since 4.5
Return to top
Show: