CookiePolicyOptions.CheckConsentNeeded Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if consent policies should be evaluated on this request. The default is 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)