AntiforgeryRequestToken(String, String) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de AntiforgeryRequestToken.
public AntiforgeryRequestToken(string value, string formFieldName);
new Microsoft.AspNetCore.Components.Forms.AntiforgeryRequestToken : string * string -> Microsoft.AspNetCore.Components.Forms.AntiforgeryRequestToken
Public Sub New (value As String, formFieldName As String)
Paramètres
- value
- String
Valeur de jeton antiforgery.
- formFieldName
- String
Nom du champ de formulaire pour le jeton antiforgery.