DeleteCookieContext(HttpContext, CookieOptions, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DeleteCookieContext.
public:
DeleteCookieContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Http::CookieOptions ^ options, System::String ^ name);
public DeleteCookieContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.CookieOptions options, string name);
new Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Http.CookieOptions * string -> Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext
Public Sub New (context As HttpContext, options As CookieOptions, name As String)
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for