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 也會提供 。

建構函式

IgnoreSectionHandler()

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

方法

Create(Object, Object, XmlNode)

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

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於

另請參閱