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 類別的新執行個體。 |