Click or drag to resize
CsrfException Class
Exception which is thrown when the CSRF attack is detected.
Inheritance Hierarchy

Namespace: CMS.Protection
Assembly: CMS.Protection (in CMS.Protection.dll) Version: 9.0.0
Syntax
C#
[SerializableAttribute]
public class CsrfException : Exception
Constructors
  NameDescription
Public methodCsrfException
Initializes a new instance of the CsrfException class.
Public methodCsrfException(String)
Initializes a new instance of the CsrfException class with a specified error message.
Public methodCsrfException(SerializationInfo, StreamingContext)
Initializes a new instance of the CsrfException class with serialized data.
Public methodCsrfException(String, Exception)
Initializes a new instance of the CsrfException class with a specified error message and a reference to the inner exception that is the cause of the CSRF exception.
Top
See Also