Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ModelErrorCollection.Add Method (Exception)

Adds the specified Exception object to the model-error collection.

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

public void Add(
	Exception exception
)

Parameters

exception
Type: System.Exception
The exception.
Show:
© 2015 Microsoft