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).
Class | Description |
---|---|
class AppSettingsReader | Provides a method for reading values of a particular type from the .config file. |
class ConfigurationException | The exception that is thrown when an error occurs in a configuration setting. |
class ConfigurationSettings | Provides access to configuration settings in a specified configuration section. This class cannot be inherited. |
class ConfigXmlDocument |
This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
class DictionarySectionHandler | Reads key-value pair configuration information for a configuration section. |
class IgnoreSectionHandler | Provides a section handler definition for configuration sections read and handled by systems other than System.Configuration. |
class NameValueFileSectionHandler |
This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
class NameValueSectionHandler | Provides name-value pair configuration information from a configuration section. |
class SingleTagSectionHandler | Provides a means of reading XML attributes in a configuration section as key/value pairs. |
Interface | Description |
---|---|
interface IConfigurationSectionHandler | Defines the contract that all configuration section handlers must implement in order to participate in the resolution of configuration settings. |
interface IConfigurationSystem |
This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The IConfigurationSystem interface defines the contract that a configuration system must implement. |