共用方式為


TwitterOptions.StateCookie 屬性

定義

決定在 Cookie 新增至回應之前,用來建立狀態 Cookie 的設定。

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

屬性值

備註

如果未提供明確 Name ,系統會自動產生以 開頭 __TwitterState 的唯一名稱。

適用於