Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the specified Exception object to the model-error collection.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub Add ( _
exception As Exception _
)
'Usage
Dim instance As ModelErrorCollection
Dim exception As Exception
instance.Add(exception)
public void Add(
Exception exception
)
public:
void Add(
Exception^ exception
)
member Add :
exception:Exception -> unit
public function Add(
exception : Exception
)
Parameters
- exception
Type: System.Exception
The exception.