SecurityTokenHandler.LoadCustomConfiguration(XmlNodeList) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, loads custom configuration from 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)
Parameters
- nodelist
- XmlNodeList
The configuration XML elements. Each node in the list is of type XmlElement.
Implements
Remarks
The LoadCustomConfiguration method is called by the configuration infrastructure. When this method is called, the nodelist
will contain the top-level child elements of the token handler's <add> element from the configuration file. Each of these may, in turn, contain attributes or child elements depending on the configuration schema you define for your derived class.
The default implementation throws a NotImplementedException. Override this method in your derived class to enable initialization of your security token handler from a configuration file.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om