共用方式為


ChunkingCookieManager.DeleteCookie(HttpContext, String, CookieOptions) 方法

定義

設定過期狀態來刪除具有給定索引鍵的 Cookie。 如果要求上存在相符的區塊 Cookie,則刪除每一個區塊。

public:
 virtual void DeleteCookie(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ key, Microsoft::AspNetCore::Http::CookieOptions ^ options);
public void DeleteCookie (Microsoft.AspNetCore.Http.HttpContext context, string key, Microsoft.AspNetCore.Http.CookieOptions options);
abstract member DeleteCookie : Microsoft.AspNetCore.Http.HttpContext * string * Microsoft.AspNetCore.Http.CookieOptions -> unit
override this.DeleteCookie : Microsoft.AspNetCore.Http.HttpContext * string * Microsoft.AspNetCore.Http.CookieOptions -> unit
Public Sub DeleteCookie (context As HttpContext, key As String, options As CookieOptions)

參數

context
HttpContext
key
String
options
CookieOptions

實作

適用於