Compartir a través de


AppendCookieContext(HttpContext, CookieOptions, String, String) Constructor

Definición

Inicializa una nueva instancia de la clase 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)

Parámetros

context
HttpContext

La solicitud HttpContext.

options
CookieOptions

que CookieOptions se pasa a la directiva de cookies.

name
String

Nombre de cookie.

value
String

Valor de la cookie.

Se aplica a