IdentityConfiguration.LoadHandlerConfiguration 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 a SecurityTokenHandlerConfiguration from a configuration file.
Overloads
LoadHandlerConfiguration(IdentityConfigurationElement) |
Loads a SecurityTokenHandlerConfiguration by using the elements directly under the specified IdentityConfigurationElement. |
LoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement) |
Loads configuration elements pertaining to the SecurityTokenHandlerCollection. |
LoadHandlerConfiguration(IdentityConfigurationElement)
Loads a SecurityTokenHandlerConfiguration by using the elements directly under the specified IdentityConfigurationElement.
protected:
System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ LoadHandlerConfiguration(System::IdentityModel::Configuration::IdentityConfigurationElement ^ element);
protected System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration LoadHandlerConfiguration (System.IdentityModel.Configuration.IdentityConfigurationElement element);
member this.LoadHandlerConfiguration : System.IdentityModel.Configuration.IdentityConfigurationElement -> System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration
Protected Function LoadHandlerConfiguration (element As IdentityConfigurationElement) As SecurityTokenHandlerConfiguration
Parameters
- element
- IdentityConfigurationElement
The <identityConfiguration>
element from the configuration file from which to load settings.
Returns
The SecurityTokenHandlerConfiguration loaded from the elements in the configuration file.
Applies to
LoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement)
Loads configuration elements pertaining to the SecurityTokenHandlerCollection.
protected:
System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ LoadHandlerConfiguration(System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ baseConfiguration, System::IdentityModel::Configuration::SecurityTokenHandlerConfigurationElement ^ element);
protected System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration LoadHandlerConfiguration (System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration baseConfiguration, System.IdentityModel.Configuration.SecurityTokenHandlerConfigurationElement element);
member this.LoadHandlerConfiguration : System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration * System.IdentityModel.Configuration.SecurityTokenHandlerConfigurationElement -> System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration
Protected Function LoadHandlerConfiguration (baseConfiguration As SecurityTokenHandlerConfiguration, element As SecurityTokenHandlerConfigurationElement) As SecurityTokenHandlerConfiguration
Parameters
- baseConfiguration
- SecurityTokenHandlerConfiguration
The base SecurityTokenHandlerConfiguration from which to inherit default values.
The SecurityTokenHandlerConfigurationElement from the configuration file.
Returns
The SecurityTokenHandlerConfiguration loaded from the elements in the configuration file and the baseConfiguration
.