IdentityConfiguration.LoadHandlerConfiguration 方法

定义

从配置文件加载 SecurityTokenHandlerConfiguration

重载

LoadHandlerConfiguration(IdentityConfigurationElement)

使用直接在指定的SecurityTokenHandlerConfiguration下的元素加载 IdentityConfigurationElement

LoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement)

加载有关 SecurityTokenHandlerCollection 的配置元素。

LoadHandlerConfiguration(IdentityConfigurationElement)

使用直接在指定的SecurityTokenHandlerConfiguration下的元素加载 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

参数

element
IdentityConfigurationElement

来自要加载设置的配置文件的 <identityConfiguration> 元素。

返回

从在配置文件中的元素加载的 SecurityTokenHandlerConfiguration

适用于

LoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement)

加载有关 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

参数

baseConfiguration
SecurityTokenHandlerConfiguration

从中要继承默认值的基数 SecurityTokenHandlerConfiguration

返回

从在配置文件和 baseConfiguration 中的元素加载的SecurityTokenHandlerConfiguration

适用于