Redigera

Dela via


FederationConfiguration.LoadConfiguration Method

Definition

Loads the properties for the current instance from the configuration file. This method is called by constructors that initialize the newly created FederationConfiguration from configuration settings.

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

Parameters

element
FederationConfigurationElement

The <federationConfiguration> element to load settings from. Can be null to load default values.

Remarks

The LoadConfiguration method is called by the constructors to set the properties of the newly created FederationConfiguration object from the specified <federationConfiguration> element.

If element is null, the instance is loaded with default values.

If there is no configuration file, or, if the named section does not exist, then no exception is thrown. Instead, the instance is loaded with default values.

Applies to