Compartir a través de


CookiePolicyOptions.CheckConsentNeeded Propiedad

Definición

Comprueba si las directivas de consentimiento se deben evaluar en esta solicitud. El valor predeterminado es false.

public:
 property Func<Microsoft::AspNetCore::Http::HttpContext ^, bool> ^ CheckConsentNeeded { Func<Microsoft::AspNetCore::Http::HttpContext ^, bool> ^ get(); void set(Func<Microsoft::AspNetCore::Http::HttpContext ^, bool> ^ value); };
public Func<Microsoft.AspNetCore.Http.HttpContext,bool> CheckConsentNeeded { get; set; }
public Func<Microsoft.AspNetCore.Http.HttpContext,bool>? CheckConsentNeeded { get; set; }
member this.CheckConsentNeeded : Func<Microsoft.AspNetCore.Http.HttpContext, bool> with get, set
Public Property CheckConsentNeeded As Func(Of HttpContext, Boolean)

Valor de propiedad

Se aplica a