Share via


ChunkingCookieManager.DeleteCookie Method (IOwinContext, String, CookieOptions)

 

Deletes the cookie with the given key by setting an expired state. If a matching chunked cookie exists on the request, delete each chunk.

Namespace:   Microsoft.Owin.Infrastructure
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

public void DeleteCookie(
    IOwinContext context,
    string key,
    CookieOptions options
)
public:
virtual void DeleteCookie(
    IOwinContext^ context,
    String^ key,
    CookieOptions^ options
) sealed
abstract DeleteCookie : 
        context:IOwinContext *
        key:string *
        options:CookieOptions -> unit
override DeleteCookie : 
        context:IOwinContext *
        key:string *
        options:CookieOptions -> unit
Public Sub DeleteCookie (
    context As IOwinContext,
    key As String,
    options As CookieOptions
)

Parameters

Implements

ICookieManager.DeleteCookie(IOwinContext, String, CookieOptions)

See Also

ChunkingCookieManager Class
Microsoft.Owin.Infrastructure Namespace

Return to top