Export (0) Print
Expand All

ModelErrorCollection.Add Method (Exception)

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

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

public void Add(
	Exception exception
)

Parameters

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