AntiforgeryValidationException 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
AntiforgeryValidationException(String) |
Creates a new instance of AntiforgeryValidationException with the specified exception message. |
AntiforgeryValidationException(String, Exception) |
Creates a new instance of AntiforgeryValidationException with the specified exception message and inner exception. |
AntiforgeryValidationException(String)
Creates a new instance of AntiforgeryValidationException with the specified exception message.
public:
AntiforgeryValidationException(System::String ^ message);
public AntiforgeryValidationException (string message);
new Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException : string -> Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
AntiforgeryValidationException(String, Exception)
Creates a new instance of AntiforgeryValidationException with the specified exception message and inner exception.
public:
AntiforgeryValidationException(System::String ^ message, Exception ^ innerException);
public AntiforgeryValidationException (string message, Exception innerException);
public AntiforgeryValidationException (string message, Exception? innerException);
new Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException : string * Exception -> Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.