HttpAntiForgeryException Constructor (String)
Visual Studio 2010
Initializes a new instance of the HttpAntiForgeryException class by using a specified message that describes the error.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- message
- Type: System.String
The message that describes the exception. The caller of this constructor must make sure that this string has been localized for the current system culture.
The following table shows the initial property values for an instance of HttpAntiForgeryException.
Property | Value |
|---|---|
Nothing. | |
The error message string that is specified in message. |
Community Additions
ADD
Show: