Compartilhar via


ValidateAntiForgeryTokenAttribute Constructor

Initializes a new instance of the ValidateAntiForgeryTokenAttribute class.

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

Syntax

'Declaration
Public Sub New
public ValidateAntiForgeryTokenAttribute()
public:
ValidateAntiForgeryTokenAttribute()

See Also

Reference

ValidateAntiForgeryTokenAttribute Class

System.Web.Mvc Namespace