IgnoreSectionHandler 類別

定義

提供一個舊有的區段處理者定義,適用於未被 System.Configuration 類型處理的組態區段。

public ref class IgnoreSectionHandler : System::Configuration::IConfigurationSectionHandler
public class IgnoreSectionHandler : System.Configuration.IConfigurationSectionHandler
type IgnoreSectionHandler = class
    interface IConfigurationSectionHandler
Public Class IgnoreSectionHandler
Implements IConfigurationSectionHandler
繼承
IgnoreSectionHandler
實作

備註

配置系統會完整解析設定檔以收集設定資訊,並在遇到未包含相應條目的 configSections 配置區塊時拋出例外。

對於未由 System.Configuration 類型處理的區段,則提供新的包裝類型 IgnoreSection 。 這是為了防止組態檔案解析異常。

為了保留,也提供了相關 IgnoreSectionHandler 資料。

建構函式

名稱 Description
IgnoreSectionHandler()

初始化 IgnoreSectionHandler 類別的新執行個體。

方法

名稱 Description
Create(Object, Object, XmlNode)

建立新的組態處理器,並將指定的組態物件加入區段處理器集合。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於

另請參閱