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

实现

适用于