ModelError Constructor (Exception)

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

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

public ModelError(
	Exception exception
)

Parameters

exception
Type: System.Exception
The exception.
Show: