Redigera

Dela via


IdentityConfiguration.LoadConfiguration(IdentityConfigurationElement) Method

Definition

Loads the settings for this IdentityConfiguration instance from the application or Web configuration file.

protected:
 void LoadConfiguration(System::IdentityModel::Configuration::IdentityConfigurationElement ^ element);
protected void LoadConfiguration (System.IdentityModel.Configuration.IdentityConfigurationElement element);
member this.LoadConfiguration : System.IdentityModel.Configuration.IdentityConfigurationElement -> unit
Protected Sub LoadConfiguration (element As IdentityConfigurationElement)

Parameters

element
IdentityConfigurationElement

The IdentityConfigurationElement from the configuration file.

Remarks

If there is no configuration file, if the named section does not exist, or if element is null, then no exception is thrown; instead the instance is loaded with a set of default values. This method calls the LoadHandlers method to load the token handler configuration.

Applies to