IgnoreSection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为不由 System.Configuration 类型处理的配置节提供包装器类型定义。
public ref class IgnoreSection sealed : System::Configuration::ConfigurationSection
public sealed class IgnoreSection : System.Configuration.ConfigurationSection
type IgnoreSection = class
inherit ConfigurationSection
Public NotInheritable Class IgnoreSection
Inherits ConfigurationSection
- 继承
注解
配置系统完全分析配置文件以收集配置信息,并在遇到在 节中 configSections 没有相应条目的配置节时引发异常。
对于未由 System.Configuration 类型处理的节,将提供新的包装器类型 IgnoreSection 。 这是为了防止配置文件分析异常。
对于旧版, IgnoreSectionHandler 还提供了 。
configSections有关指定IgnoreSection为处理类型的部分的示例,请参阅 Machine.config 配置文件的 元素。
构造函数
| IgnoreSection() |
初始化 IgnoreSection 类的新实例。 |