HttpAntiForgeryException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HttpAntiForgeryException() |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the HttpAntiForgeryException class. |
HttpAntiForgeryException(String) |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the HttpAntiForgeryException class. |
HttpAntiForgeryException(String, Exception) |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the HttpAntiForgeryException class. |
HttpAntiForgeryException()
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the HttpAntiForgeryException class.
public HttpAntiForgeryException ();
Public Sub New ()
Applies to
HttpAntiForgeryException(String)
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the HttpAntiForgeryException class.
public HttpAntiForgeryException (string message);
new System.Web.Mvc.HttpAntiForgeryException : string -> System.Web.Mvc.HttpAntiForgeryException
Public Sub New (message As String)
Parameters
- message
- String
The containing message.
Applies to
HttpAntiForgeryException(String, Exception)
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the HttpAntiForgeryException class.
public HttpAntiForgeryException (string message, Exception innerException);
new System.Web.Mvc.HttpAntiForgeryException : string * Exception -> System.Web.Mvc.HttpAntiForgeryException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message.
- innerException
- Exception
The inner exception.