Bagikan melalui


DeleteCookieContext(HttpContext, CookieOptions, String) Konstruktor

Definisi

Menginisialisasi instans baru .DeleteCookieContext

public:
 DeleteCookieContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Http::CookieOptions ^ options, System::String ^ name);
public DeleteCookieContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.CookieOptions options, string name);
new Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Http.CookieOptions * string -> Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext
Public Sub New (context As HttpContext, options As CookieOptions, name As String)

Parameter

context
HttpContext

Permintaan HttpContext.

options
CookieOptions

yang CookieOptions diteruskan ke kebijakan cookie.

name
String

Nama cookie yang akan dihapus.

Berlaku untuk