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 HttpAntiForgeryException class by using a system-supplied message that describes the error.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New
public HttpAntiForgeryException()
public:
HttpAntiForgeryException()
Remarks
This constructor initializes the Message property to a system-supplied message that describes the error, such as "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply". This message takes into account the current system culture.
The following table shows the initial property values for an instance of InsufficientMemoryException.
Property |
Value |
|---|---|
null reference (Nothing in Visual Basic). |
|
The localized error message string. |
See Also
Reference
HttpAntiForgeryException Class
HttpAntiForgeryException Overload