FederationConfiguration.CookieHandler 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 Cookie 處理器以供 Session Authentication ModuleSessionAuthenticationModule()。
public:
property System::IdentityModel::Services::CookieHandler ^ CookieHandler { System::IdentityModel::Services::CookieHandler ^ get(); void set(System::IdentityModel::Services::CookieHandler ^ value); };
public System.IdentityModel.Services.CookieHandler CookieHandler { get; set; }
member this.CookieHandler : System.IdentityModel.Services.CookieHandler with get, set
Public Property CookieHandler As CookieHandler
屬性值
Cookie 處理器將由會話認證模組(SAM)使用。
例外狀況
嘗試將該屬性設定為null
備註
指定 SAM 用來讀寫會話 Cookie 的 Cookie 處理器。
當從設定檔初始化時,這個屬性是由 <cookieHandler> 元素設定的。