Редагувати

Поділитися через


SessionSecurityTokenHandler.LoadCustomConfiguration(XmlNodeList) Method

Definition

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