AppendCookieContext(HttpContext, CookieOptions, String, String) Konstruktor

Definice

Inicializuje novou instanci 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)

Parametry

context
HttpContext

HttpContextPožadavek .

options
CookieOptions

Předané CookieOptions zásadám souborů cookie.

name
String

Název souboru cookie.

value
String

Hodnota souboru cookie.

Platí pro