Click or drag to resize
CsrfException Class
Exception which is thrown when the CSRF attack is detected.
Inheritance Hierarchy
SystemObject
  SystemException
    CMS.Protection.Web.UICsrfException

Namespace: CMS.Protection.Web.UI
Assembly: CMS.Protection.Web.UI (in CMS.Protection.Web.UI.dll) Version: 13.0.131
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