Share via


ResponseCookieCollection.Delete Method

 

Sets the cookie expired.

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

Overload List

Name Description
System_CAPS_pubmethod Delete(String)

Sets an expired cookie

System_CAPS_pubmethod Delete(String, CookieOptions)

Sets an expired cookie

See Also

ResponseCookieCollection Class
Microsoft.Owin Namespace

Return to top

ResponseCookieCollection.Delete Method (String)

Sets an expired cookie

Syntax

public void Delete(
    string key
)
public:
void Delete(
    String^ key
)
member Delete : 
        key:string -> unit
Public Sub Delete (
    key As String
)

Parameters

Return to top

ResponseCookieCollection.Delete Method (String, CookieOptions)

Sets an expired cookie

Syntax

public void Delete(
    string key,
    CookieOptions options
)
public:
void Delete(
    String^ key,
    CookieOptions^ options
)
member Delete : 
        key:string *
        options:CookieOptions -> unit
Public Sub Delete (
    key As String,
    options As CookieOptions
)

Parameters

Return to top