Click or drag to resize

ConfigSectionHandler Class

Represents NLog ConfigSection for loading XmlLoggingConfiguration from app.config / web.config
Inheritance Hierarchy
SystemObject
  System.ConfigurationConfigurationElement
    System.ConfigurationConfigurationSection
      NLog.ConfigConfigSectionHandler

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public sealed class ConfigSectionHandler : ConfigurationSection

The ConfigSectionHandler type exposes the following members.

Constructors
  NameDescription
Public methodConfigSectionHandler
Initializes a new instance of the ConfigSectionHandler class
Top
Properties
  NameDescription
Public propertyCurrentConfiguration
Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to.
(Inherited from ConfigurationElement.)
Public propertyElementInformation
Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Public propertyLockAllAttributesExcept
Gets the collection of locked attributes.
(Inherited from ConfigurationElement.)
Public propertyLockAllElementsExcept
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockAttributes
Gets the collection of locked attributes
(Inherited from ConfigurationElement.)
Public propertyLockElements
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockItem
Gets or sets a value indicating whether the element is locked.
(Inherited from ConfigurationElement.)
Public propertySectionInformation
Gets a SectionInformation object that contains the non-customizable information and functionality of the ConfigurationSection object.
(Inherited from ConfigurationSection.)
Top
Methods
  NameDescription
Public methodEquals
Compares the current ConfigurationElement instance to the specified object.
(Inherited from ConfigurationElement.)
Public methodGetHashCode
Gets a unique value representing the current ConfigurationElement instance.
(Inherited from ConfigurationElement.)
Public methodIsReadOnly
Gets a value indicating whether the ConfigurationElement object is read-only.
(Inherited from ConfigurationElement.)
Top
Remarks
1<configSections>
2  <section name="NLog" type="NLog.Config.ConfigSectionHandler, NLog" />
3</configSections>
See Also