ResponseCookieCollection.Delete Method
Sets the cookie expired.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Overload List
Name | Description | |
---|---|---|
Delete(String) | Sets an expired cookie |
|
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
- key
Type: System.String
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
- key
Type: System.String
- options
Type: Microsoft.Owin.CookieOptions
Return to top