Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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.