DeleteCookieContext(HttpContext, CookieOptions, String) Constructor

Definition

Initializes a new instance of DeleteCookieContext.

C#
public DeleteCookieContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.CookieOptions options, string name);

Parameters

context
HttpContext

The request HttpContext.

options
CookieOptions

The CookieOptions passed to the cookie policy.

name
String

The cookie name to be deleted.

Applies to

Produk Versi
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0