ModelErrorCollection.Add Method (Exception)

.NET Framework (current version)
 

Adds a validation error to the collection using the specified exception.

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

member Add : 
        exception:Exception -> unit

Parameters

exception
Type: System.Exception

The exception.

.NET Framework
Available since 4.5
Return to top
Show: