共用方式為


DeleteCookieContext(HttpContext, CookieOptions, String) 建構函式

定義

初始化 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)

參數

context
HttpContext

要求 HttpContext

options
CookieOptions

CookieOptions傳遞至 Cookie 原則的 。

name
String

要刪除的 Cookie 名稱。

適用於