Freigeben über


ModelError Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the ModelError class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method ModelError(Exception) Initializes a new instance of the ModelError class by using the specified exception.
Public method ModelError(String) Initializes a new instance of the ModelError class by using the specified error message.
Public method ModelError(Exception, String) Initializes a new instance of the ModelError class by using the specified exception and error message.

Top

See Also

Reference

ModelError Class

System.Web.Mvc Namespace