ConfigurationBasedIssuerNameRegistry.LoadCustomConfiguration 方法

定义

从配置中加载受信任的颁发者。

public:
 override void LoadCustomConfiguration(System::Xml::XmlNodeList ^ customConfiguration);
public override void LoadCustomConfiguration(System.Xml.XmlNodeList customConfiguration);
override this.LoadCustomConfiguration : System.Xml.XmlNodeList -> unit
Public Overrides Sub LoadCustomConfiguration (customConfiguration As XmlNodeList)

参数

customConfiguration
XmlNodeList

表示配置文件中指定的受信任颁发者的映射的 XML。

例外

customConfigurationnull

配置包含一个或多个无法识别的元素。

注解

该方法 LoadCustomConfiguration 由配置基础结构调用。 调用此方法时,nodelist将包含配置文件中 issuerNameRegistry> 元素的<顶级子元素。 每个元素都可能包含属性或子元素,具体取决于为派生类定义的配置架构。

此方法由配置基础结构调用。 默认实现从 <trustedIssuers> 元素(在 issuerNameRegistry> 元素下<配置)加载配置。 可以重写此方法,为派生类中自己的自定义配置元素提供支持。

适用于