Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpAntiForgeryException Class

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System.Object
  System.Exception
    System.SystemException
      System.Runtime.InteropServices.ExternalException
        System.Web.HttpException
          System.Web.Mvc.HttpAntiForgeryException

Namespace:  System.Web.Mvc
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

[SerializableAttribute]
public sealed class HttpAntiForgeryException : HttpException

The HttpAntiForgeryException type exposes the following members.

  NameDescription
Public methodHttpAntiForgeryException()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 methodHttpAntiForgeryException(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 methodHttpAntiForgeryException(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.
Top

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyErrorCode (Inherited from ExternalException.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Public propertyWebEventCode (Inherited from HttpException.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetHtmlErrorMessage (Inherited from HttpException.)
Public methodGetHttpCode (Inherited from HttpException.)
Public methodGetObjectData (Inherited from HttpException.)
Public methodGetType (Inherited from Exception.)
Public methodToString (Inherited from ExternalException.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2017 Microsoft