Export (0) Print
Expand All

ModelError Constructor (Exception, String)

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

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

public ModelError(
	Exception exception,
	string errorMessage
)

Parameters

exception
Type: System.Exception
The exception.
errorMessage
Type: System.String
The error message
Show:
© 2014 Microsoft