System.Configuration.ConfigurationException Class

The exception that is thrown when a configuration system error has occurred.

See Also: ConfigurationException Members

Syntax

public class ConfigurationException : SystemException

Remarks

The System.Configuration.ConfigurationException exception is thrown if the application attempts to read or write data to the configuration file but is unsuccessful. Some possible reasons for this can include malformed XML in the configuration file, file permission issues, and configuration properties with values that are not valid.

Note:

The System.Configuration.ConfigurationException object is maintained for backward compatibility. The System.Configuration.ConfigurationErrorsException object replaces it for the configuration system.

Requirements

Namespace: System.Configuration
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0