AppendCookieContext(HttpContext, CookieOptions, String, 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 AppendCookieContext.
public:
AppendCookieContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Http::CookieOptions ^ options, System::String ^ name, System::String ^ value);
public AppendCookieContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.CookieOptions options, string name, string value);
new Microsoft.AspNetCore.CookiePolicy.AppendCookieContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Http.CookieOptions * string * string -> Microsoft.AspNetCore.CookiePolicy.AppendCookieContext
Public Sub New (context As HttpContext, options As CookieOptions, name As String, value As String)
Parameters
- context
- HttpContext
The request HttpContext.
- options
- CookieOptions
The CookieOptions passed to the cookie policy.
- name
- String
The cookie name.
- value
- String
The cookie value.