Collapse the table of content
Expand the table of content

System.Configuration Namespace

The System.Configuration namespace provides classes and interfaces that allow you to programmatically access .NET Framework configuration settings and handle errors in configuration files (.config files).

Namespace hierarchy


Class Description
AppSettingsReader Provides a method for reading values of a particular type from the .config file.
ConfigurationException The exception that is thrown when an error occurs in a configuration setting.
ConfigurationSettings Provides access to configuration settings in a specified configuration section. This class cannot be inherited.
DictionarySectionHandler Reads key-value pair configuration information for a configuration section.
IgnoreSectionHandler Provides a section handler definition for configuration sections read and handled by systems other than System.Configuration.
NameValueSectionHandler Provides name-value pair configuration information from a configuration section.


Interface Description
IConfigurationSectionHandler Defines the contract that all configuration section handlers must implement in order to participate in the resolution of configuration settings.

See Also

.NET Framework Class Library

© 2015 Microsoft