ICookieManager.AppendResponseCookie Méthode
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.
Ajoutez le cookie donné à la réponse.
public:
void AppendResponseCookie(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ key, System::String ^ value, Microsoft::AspNetCore::Http::CookieOptions ^ options);
public void AppendResponseCookie (Microsoft.AspNetCore.Http.HttpContext context, string key, string value, Microsoft.AspNetCore.Http.CookieOptions options);
public void AppendResponseCookie (Microsoft.AspNetCore.Http.HttpContext context, string key, string? value, Microsoft.AspNetCore.Http.CookieOptions options);
abstract member AppendResponseCookie : Microsoft.AspNetCore.Http.HttpContext * string * string * Microsoft.AspNetCore.Http.CookieOptions -> unit
Public Sub AppendResponseCookie (context As HttpContext, key As String, value As String, options As CookieOptions)
Paramètres
- context
- HttpContext
- key
- String
- value
- String
- options
- CookieOptions