共用方式為


CookieBuilder.SecurePolicy 屬性

定義

將用來判斷 Secure 的原則。 這是從傳遞至 Build(HttpContext, DateTimeOffset)HttpContext 決定。

public:
 virtual property Microsoft::AspNetCore::Http::CookieSecurePolicy SecurePolicy { Microsoft::AspNetCore::Http::CookieSecurePolicy get(); void set(Microsoft::AspNetCore::Http::CookieSecurePolicy value); };
public virtual Microsoft.AspNetCore.Http.CookieSecurePolicy SecurePolicy { get; set; }
member this.SecurePolicy : Microsoft.AspNetCore.Http.CookieSecurePolicy with get, set
Public Overridable Property SecurePolicy As CookieSecurePolicy

屬性值

適用於