Compartilhar via


IResponseCookies.Delete Método

Definição

Sobrecargas

Delete(String)

Define um cookie expirado.

Delete(String, CookieOptions)

Define um cookie expirado.

Delete(String)

Origem:
IResponseCookies.cs

Define um cookie expirado.

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

Nome do cookie a expirar.

Aplica-se a

Delete(String, CookieOptions)

Origem:
IResponseCookies.cs

Define um cookie expirado.

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

Nome do cookie a expirar.

options
CookieOptions

CookieOptions usado para discriminar o cookie específico a expirar. Os Domain valores e Path são especialmente importantes.

Aplica-se a