Compartir a través de


IResponseCookies.Delete Método

Definición

Sobrecargas

Delete(String)

Establece una cookie expirada.

Delete(String, CookieOptions)

Establece una cookie expirada.

Delete(String)

Source:
IResponseCookies.cs

Establece una cookie expirada.

public:
 void Delete(System::String ^ key);
public void Delete (string key);
abstract member Delete : string -> unit
Public Sub Delete (key As String)

Parámetros

key
String

Nombre de la cookie que se va a expirar.

Se aplica a

Delete(String, CookieOptions)

Source:
IResponseCookies.cs

Establece una cookie expirada.

public:
 void Delete(System::String ^ key, Microsoft::AspNetCore::Http::CookieOptions ^ options);
public void Delete (string key, Microsoft.AspNetCore.Http.CookieOptions options);
abstract member Delete : string * Microsoft.AspNetCore.Http.CookieOptions -> unit
Public Sub Delete (key As String, options As CookieOptions)

Parámetros

key
String

Nombre de la cookie que se va a expirar.

options
CookieOptions

CookieOptions se usa para discriminar la cookie en particular para que expire. Los Domain valores y Path son especialmente importantes.

Se aplica a