IdentityConfiguration.LoadHandlerConfiguration 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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,要從其中繼承預設值。
傳回
從組態檔中的項目載入的SecurityTokenHandlerConfiguration和baseConfiguration
。