共用方式為


CookiePolicyOptions.MinimumSameSitePolicy 屬性

定義

影響 Cookie 的相同網站屬性。

public:
 property Microsoft::AspNetCore::Http::SameSiteMode MinimumSameSitePolicy { Microsoft::AspNetCore::Http::SameSiteMode get(); void set(Microsoft::AspNetCore::Http::SameSiteMode value); };
public Microsoft.AspNetCore.Http.SameSiteMode MinimumSameSitePolicy { get; set; }
member this.MinimumSameSitePolicy : Microsoft.AspNetCore.Http.SameSiteMode with get, set
Public Property MinimumSameSitePolicy As SameSiteMode

屬性值

適用於