System.Configuration Namespace

The System.Configuration namespace contains the types that provide the programming model for handling configuration data.

Remarks

 

Classes

TypeReason
ApplicationScopedSettingAttribute

Specifies that an application settings property has a common value for all users of an application. This class cannot be inherited.

ApplicationSettingsBase

Acts as a base class for deriving concrete wrapper classes to implement the application settings feature in Window Forms applications.

ApplicationSettingsGroup

Represents a grouping of related application settings sections within a configuration file. This class cannot be inherited.

AppSettingsReader

Provides a method for reading values of a particular type from the configuration.

ClientSettingsSection

Represents a group of user-scoped application settings in a configuration file.

ConfigurationException

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

ConfigurationSettings

Provides runtime versions 1.0 and 1.1 support for reading configuration sections and common configuration settings.

ConfigXmlDocument

Wraps the corresponding XmlDocument type and also carries the necessary information for reporting file-name and line numbers.

DefaultSettingValueAttribute

Specifies the default value for an application settings property.

DictionarySectionHandler

Provides key/value pair configuration information from a configuration section.

IApplicationSettingsProvider

Defines extended capabilities for client-based application settings providers.

IConfigurationSectionHandler

Handles the access to certain configuration sections.

IConfigurationSystem

Provides standard configuration methods.

IdnElement

Provides the configuration setting for International Domain Name (IDN) processing in the Uri class.

IgnoreSectionHandler

Provides a legacy section-handler definition for configuration sections that are not handled by the System.Configuration types.

IPersistComponentSettings

Defines standard functionality for controls or libraries that store and retrieve application settings.

IriParsingElement

Provides the configuration setting for International Resource Identifier (IRI) processing in the Uri class.

ISettingsProviderService

Provides an interface for defining an alternate application settings provider.

LocalFileSettingsProvider

Provides persistence for application settings classes.

NameValueFileSectionHandler

Provides access to a configuration file. This type supports the .NET Framework configuration infrastructure and is not intended to be used directly from your code.

NameValueSectionHandler

Provides name/value-pair configuration information from a configuration section.

NoSettingsVersionUpgradeAttribute

Specifies that a settings provider should disable any logic that gets invoked when an application upgrade is detected. This class cannot be inherited.

SettingAttribute

Represents a custom settings attribute used to associate settings information with a settings property.

SettingChangingEventArgs

Provides data for the ApplicationSettingsBase.SettingChanging event.

SettingChangingEventHandler

Represents the method that will handle the ApplicationSettingsBase.SettingChanging event.

SettingElement

Represents a simplified configuration element used for updating elements in the configuration. This class cannot be inherited.

SettingElementCollection

Contains a collection of SettingElement objects. This class cannot be inherited.

SettingsAttributeDictionary

Represents a collection of key/value pairs used to describe a configuration object as well as a SettingsProperty object.

SettingsBase

Provides the base class used to support user property settings.

SettingsContext

Provides contextual information that the provider can use when persisting settings.

SettingsDescriptionAttribute

Provides a string that describes an individual configuration property. This class cannot be inherited.

SettingsGroupDescriptionAttribute

Provides a string that describes an application settings property group. This class cannot be inherited.

SettingsGroupNameAttribute

Specifies a name for application settings property group. This class cannot be inherited.

SettingsLoadedEventArgs

Provides data for the ApplicationSettingsBase.SettingsLoaded event.

SettingsLoadedEventHandler

Represents the method that will handle the ApplicationSettingsBase.SettingsLoaded event.

SettingsManageability

Provides values to indicate which services should be made available to application settings.

SettingsManageabilityAttribute

Specifies special services for application settings properties. This class cannot be inherited.

SettingsProperty

Used internally as the class that represents metadata about an individual configuration property.

SettingsPropertyCollection

Contains a collection of SettingsProperty objects.

SettingsPropertyIsReadOnlyException

Provides an exception for read-only SettingsProperty objects.

SettingsPropertyNotFoundException

Provides an exception for SettingsProperty objects that are not found.

SettingsPropertyValue

Contains the value of a settings property that can be loaded and stored by an instance of SettingsBase.

SettingsPropertyValueCollection

Contains a collection of settings property values that map SettingsProperty objects to SettingsPropertyValue objects.

SettingsPropertyWrongTypeException

Provides an exception that is thrown when an invalid type is used with a SettingsProperty object.

SettingsProvider

Acts as a base class for deriving custom settings providers in the application settings architecture.

SettingsProviderAttribute

Specifies the settings provider used to provide storage for the current application settings class or property. This class cannot be inherited.

SettingsProviderCollection

Represents a collection of application settings providers.

SettingsSavingEventHandler

Represents the method that will handle the ApplicationSettingsBase.SettingsSaving event.

SettingsSerializeAs

Determines the serialization scheme used to store application settings.

SettingsSerializeAsAttribute

Specifies the serialization mechanism that the settings provider should use. This class cannot be inherited.

SettingValueElement

Contains the XML representing the serialized value of the setting. This class cannot be inherited.

SingleTagSectionHandler

Handles configuration sections that are represented by a single XML tag in the .config file.

SpecialSetting

Specifies the special setting category of a application settings property.

SpecialSettingAttribute

Indicates that an application settings property has a special significance. This class cannot be inherited.

UriSection

Represents the Uri section within a configuration file.

UserScopedSettingAttribute

Specifies that an application settings group or property contains distinct values for each user of an application. This class cannot be inherited.

UserSettingsGroup

Represents a grouping of related user settings sections within a configuration file. This class cannot be inherited.