CookieHandlerElement.CustomCookieHandler 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定自訂 Cookie 處理常式型別。 正在設定自訂 Cookie 處理常式時,就必須設定這個屬性。
public:
property System::IdentityModel::Configuration::CustomTypeElement ^ CustomCookieHandler { System::IdentityModel::Configuration::CustomTypeElement ^ get(); void set(System::IdentityModel::Configuration::CustomTypeElement ^ value); };
[System.Configuration.ConfigurationProperty("customCookieHandler", IsRequired=false)]
public System.IdentityModel.Configuration.CustomTypeElement CustomCookieHandler { get; set; }
[<System.Configuration.ConfigurationProperty("customCookieHandler", IsRequired=false)>]
member this.CustomCookieHandler : System.IdentityModel.Configuration.CustomTypeElement with get, set
Public Property CustomCookieHandler As CustomTypeElement
屬性值
定義自訂 Cookie 處理常式類型的 CustomTypeElement。
- 屬性
備註
這個屬性相當於 <customCookieHandler>
專案的 <cookieHandler>
子專案。 它會指定要使用的自訂 Cookie 處理程式類型。 如果已設定這個屬性,則必須將 Mode 屬性設定為 Custom。 這個屬性指定的自定義類型必須衍生自 CookieHandler 類別。
ChunkedCookieHandler可以設定 屬性或 CustomCookieHandler 屬性,但不能同時設定兩者。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應