Partager via


HttpAntiForgeryException Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the HttpAntiForgeryException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method HttpAntiForgeryException() Initializes a new instance of the HttpAntiForgeryException class by using a system-supplied message that describes the error.
Public method HttpAntiForgeryException(String) Initializes a new instance of the HttpAntiForgeryException class by using a specified message that describes the error.
Public method HttpAntiForgeryException(String, Exception) Initializes a new instance of the HttpAntiForgeryException class by using a specified error message and a reference to the inner exception that is the cause of this exception.

Top

See Also

Reference

HttpAntiForgeryException Class

System.Web.Mvc Namespace