ICookieManager.AppendResponseCookie Method
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.
Append the given cookie to the response.
public:
void AppendResponseCookie(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ key, System::String ^ value, Microsoft::AspNetCore::Http::CookieOptions ^ options);
public void AppendResponseCookie (Microsoft.AspNetCore.Http.HttpContext context, string key, string value, Microsoft.AspNetCore.Http.CookieOptions options);
public void AppendResponseCookie (Microsoft.AspNetCore.Http.HttpContext context, string key, string? value, Microsoft.AspNetCore.Http.CookieOptions options);
abstract member AppendResponseCookie : Microsoft.AspNetCore.Http.HttpContext * string * string * Microsoft.AspNetCore.Http.CookieOptions -> unit
Public Sub AppendResponseCookie (context As HttpContext, key As String, value As String, options As CookieOptions)
Parameters
- context
- HttpContext
- key
- String
- value
- String
- options
- CookieOptions