Partilhar via


AppendCookieContext(HttpContext, CookieOptions, String, String) Construtor

Definição

Inicializa uma nova instância de 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

A solicitação HttpContext.

options
CookieOptions

O CookieOptions passado para a política de cookie.

name
String

O nome do cookie.

value
String

O valor do cookie.

Aplica-se a