Compartir a través de


RequestPathBaseCookieBuilder.Build(HttpContext, DateTimeOffset) Método

Definición

Path Configura si no está configurado explícitamente.

public:
 override Microsoft::AspNetCore::Http::CookieOptions ^ Build(Microsoft::AspNetCore::Http::HttpContext ^ context, DateTimeOffset expiresFrom);
public override Microsoft.AspNetCore.Http.CookieOptions Build (Microsoft.AspNetCore.Http.HttpContext context, DateTimeOffset expiresFrom);
override this.Build : Microsoft.AspNetCore.Http.HttpContext * DateTimeOffset -> Microsoft.AspNetCore.Http.CookieOptions
Public Overrides Function Build (context As HttpContext, expiresFrom As DateTimeOffset) As CookieOptions

Parámetros

expiresFrom
DateTimeOffset

El tiempo que se va a usar como base para calcular Expires.

Devoluciones

Las opciones de cookie.

Se aplica a