SecurityTokenHandler.LoadCustomConfiguration Method (XmlNodeList)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, loads custom configuration from XML.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

abstract LoadCustomConfiguration : 
        nodelist:XmlNodeList -> unit
override LoadCustomConfiguration : 
        nodelist:XmlNodeList -> unit

Parameters

nodelist
Type: System.Xml.XmlNodeList

The configuration XML elements. Each node in the list is of type XmlElement.

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.

.NET Framework
Available since 4.5
Return to top
Show: