Share via


SecurityTokenHandler.LoadCustomConfiguration(XmlNodeList) 方法

定義

在衍生類別中覆寫時,從 XML 載入自訂組態。

public:
 virtual void LoadCustomConfiguration(System::Xml::XmlNodeList ^ nodelist);
public virtual void LoadCustomConfiguration (System.Xml.XmlNodeList nodelist);
abstract member LoadCustomConfiguration : System.Xml.XmlNodeList -> unit
override this.LoadCustomConfiguration : System.Xml.XmlNodeList -> unit
Public Overridable Sub LoadCustomConfiguration (nodelist As XmlNodeList)

參數

nodelist
XmlNodeList

組態 XML 項目。 清單中的每個節點的型別為 XmlElement

實作

備註

方法是由組 LoadCustomConfiguration 態基礎結構所呼叫。 呼叫這個方法時, nodelist 會包含來自組態檔之 Token 處理程式 <之 add> 元素的最上層子元素。 根據您為衍生類別定義的組態架構而定,這些屬性或子元素可能會包含這些屬性或子元素。

預設實作會擲回 NotImplementedException。 覆寫衍生類別中的這個方法,以從組態檔啟用安全性令牌處理程式的初始化。

適用於