Antiforgery​Validation​Exception Antiforgery​Validation​Exception Class

Definition

The that is thrown when the antiforgery token validation fails.
public class AntiforgeryValidationException : ExceptionPublic Class AntiforgeryValidationException
    Inherits Exception
Inheritance
System.ObjectSystem.Object
AntiforgeryValidationExceptionAntiforgeryValidationException

Constructors

AntiforgeryValidationException(String) AntiforgeryValidationException(String)

Creates a new instance of AntiforgeryValidationException with the specified exception message.
public AntiforgeryValidationException(string message)Public Sub New(message As String)
Parameters
message
System.String System.String
The message that describes the error.