Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the ModelError class by using the specified exception.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
exception As Exception _
)
public ModelError(
Exception exception
)
public:
ModelError(
Exception^ exception
)
Parameters
- exception
Type: System.Exception
The exception.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The exception parameter is null reference (Nothing in Visual Basic). |