LoadConfiguration Method
Collapse the table of content
Expand the table of content

FederationConfiguration.LoadConfiguration Method (FederationConfigurationElement)

.NET Framework (current version)

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.

Namespace:   System.IdentityModel.Services.Configuration
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

protected void LoadConfiguration(
	FederationConfigurationElement element


Type: System.IdentityModel.Services.Configuration.FederationConfigurationElement

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

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 the 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.

.NET Framework
Available since 4.5
Return to top
© 2016 Microsoft