Compartilhar via


CookiePolicyOptions.CheckConsentNeeded Propriedade

Definição

Verifica se as políticas de consentimento devem ser avaliadas nessa solicitação. O padrão é falso.

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 da propriedade

Aplica-se a