SessionSecurityTokenHandler.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.
Loads custom configuration from XML.
public:
override void LoadCustomConfiguration(System::Xml::XmlNodeList ^ customConfigElements);
public override void LoadCustomConfiguration (System.Xml.XmlNodeList customConfigElements);
override this.LoadCustomConfiguration : System.Xml.XmlNodeList -> unit
Public Overrides Sub LoadCustomConfiguration (customConfigElements As XmlNodeList)
Parameters
- customConfigElements
- XmlNodeList
The custom configuration elements.
Exceptions
customConfigElements
is null
.
The configuration specified by customConfigElements
is not valid. For example, it does not contain a <sessionTokenRequirement>
element, it contains more than one <sessionTokenRequirement>
element, a valid TimeSpan value cannot be read from the lifetime
attribute, or the lifetime
attribute specifies a value that is less than Zero.
Remarks
Called by the configuration infrastructure to initialize the SessionSecurityTokenHandler instance. Initializes the TokenLifetime property from the lifetime
attribute of the <sessionTokenRequirement> element in the configuration file.
Applies to
See also
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