System.Configuration Namespace
 

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

Classes
ClassDescription
System_CAPS_pubclass ApplicationScopedSettingAttribute

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

System_CAPS_pubclass ApplicationSettingsBase

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

System_CAPS_pubclass ApplicationSettingsGroup

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

System_CAPS_pubclass AppSettingsReader

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

System_CAPS_pubclass AppSettingsSection

Provides configuration system support for the appSettings configuration section. This class cannot be inherited.

System_CAPS_pubclass CallbackValidator

Provides dynamic validation of an object.

System_CAPS_pubclass CallbackValidatorAttribute

Specifies a CallbackValidator object to use for code validation. This class cannot be inherited.

System_CAPS_pubclass ClientSettingsSection

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

System_CAPS_pubclass CommaDelimitedStringCollection

Represents a collection of string elements separated by commas. This class cannot be inherited.

System_CAPS_pubclass CommaDelimitedStringCollectionConverter

Converts a comma-delimited string value to and from a CommaDelimitedStringCollection object. This class cannot be inherited.

System_CAPS_pubclass Configuration

Represents a configuration file that is applicable to a particular computer, application, or resource. This class cannot be inherited.

System_CAPS_pubclass ConfigurationCollectionAttribute

Declaratively instructs the .NET Framework to create an instance of a configuration element collection. This class cannot be inherited.

System_CAPS_pubclass ConfigurationConverterBase

The base class for the configuration converter types.

System_CAPS_pubclass ConfigurationElement

Represents a configuration element within a configuration file.

System_CAPS_pubclass ConfigurationElementCollection

Represents a configuration element containing a collection of child elements.

System_CAPS_pubclass ConfigurationElementProperty

Specifies the property of a configuration element. This class cannot be inherited.

System_CAPS_pubclass ConfigurationErrorsException

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

System_CAPS_pubclass ConfigurationException

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

System_CAPS_pubclass ConfigurationFileMap

Defines the configuration file mapping for the machine configuration file.

System_CAPS_pubclass ConfigurationLocation

Represents a location element within a configuration file.

System_CAPS_pubclass ConfigurationLocationCollection

Contains a collection of ConfigurationLocationCollection objects.

System_CAPS_pubclass ConfigurationLockCollection

Contains a collection of locked configuration objects. This class cannot be inherited.

System_CAPS_pubclass ConfigurationManager

Provides access to configuration files for client applications. This class cannot be inherited.

System_CAPS_pubclass ConfigurationPermission

Provides a permission structure that allows methods or classes to access configuration files.

System_CAPS_pubclass ConfigurationPermissionAttribute

Creates a ConfigurationPermission object that either grants or denies the marked target permission to access sections of configuration files.

System_CAPS_pubclass ConfigurationProperty

This API supports the product infrastructure and is not intended to be used directly from your code. Represents an attribute or a child of a configuration element. This class cannot be inherited.

System_CAPS_pubclass ConfigurationPropertyAttribute

Declaratively instructs the .NET Framework to instantiate a configuration property. This class cannot be inherited.

System_CAPS_pubclass ConfigurationPropertyCollection

Represents a collection of configuration-element properties.

System_CAPS_pubclass ConfigurationSection

Represents a section within a configuration file.

System_CAPS_pubclass ConfigurationSectionCollection

Represents a collection of related sections within a configuration file.

System_CAPS_pubclass ConfigurationSectionGroup

Represents a group of related sections within a configuration file.

System_CAPS_pubclass ConfigurationSectionGroupCollection

Represents a collection of ConfigurationSectionGroup objects.

System_CAPS_pubclass ConfigurationSettings

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

System_CAPS_pubclass ConfigurationValidatorAttribute

Serves as the base class for the System.Configuration validator attribute types.

System_CAPS_pubclass ConfigurationValidatorBase

Acts as a base class for deriving a validation class so that a value of an object can be verified.

System_CAPS_pubclass ConfigXmlDocument

This API supports the product infrastructure and is not intended to be used directly from your code. Wraps the corresponding XmlDocument type and also carries the necessary information for reporting file-name and line numbers.

System_CAPS_pubclass ConnectionStringSettings

Represents a single, named connection string in the connection strings configuration file section.

System_CAPS_pubclass ConnectionStringSettingsCollection

Contains a collection of ConnectionStringSettings objects.

System_CAPS_pubclass ConnectionStringsSection

Provides programmatic access to the connection strings configuration-file section.

System_CAPS_pubclass ContextInformation

Encapsulates the context information that is associated with a ConfigurationElement object. This class cannot be inherited.

System_CAPS_pubclass DefaultSection

Represents a basic configuration-section handler that exposes the configuration section's XML for both read and write access.

System_CAPS_pubclass DefaultSettingValueAttribute

Specifies the default value for an application settings property.

System_CAPS_pubclass DefaultValidator

Provides validation of an object. This class cannot be inherited.

System_CAPS_pubclass DictionarySectionHandler

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

System_CAPS_pubclass DpapiProtectedConfigurationProvider

Provides a ProtectedConfigurationProvider object that uses the Windows data protection API (DPAPI) to encrypt and decrypt configuration data.

System_CAPS_pubclass ElementInformation

Contains meta-information about an individual element within the configuration. This class cannot be inherited.

System_CAPS_pubclass ExeConfigurationFileMap

Defines the configuration file mapping for an .exe application. This class cannot be inherited.

System_CAPS_pubclass ExeContext

Manages the path context for the current application. This class cannot be inherited.

System_CAPS_pubclass GenericEnumConverter

Converts between a string and an enumeration type.

System_CAPS_pubclass IdnElement

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

System_CAPS_pubclass IgnoreSection

Provides a wrapper type definition for configuration sections that are not handled by the System.Configuration types.

System_CAPS_pubclass IgnoreSectionHandler

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

System_CAPS_pubclass InfiniteIntConverter

Converts between a string and the standard infinite or integer value.

System_CAPS_pubclass InfiniteTimeSpanConverter

Converts between a string and the standard infinite TimeSpan value.

System_CAPS_pubclass IntegerValidator

Provides validation of an Int32 value.

System_CAPS_pubclass IntegerValidatorAttribute

Declaratively instructs the .NET Framework to perform integer validation on a configuration property. This class cannot be inherited.

System_CAPS_pubclass IriParsingElement

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

System_CAPS_pubclass KeyValueConfigurationCollection

Contains a collection of KeyValueConfigurationElement objects.

System_CAPS_pubclass KeyValueConfigurationElement

Represents a configuration element that contains a key/value pair.

System_CAPS_pubclass LocalFileSettingsProvider

Provides persistence for application settings classes.

System_CAPS_pubclass LongValidator

Provides validation of an Int64 value.

System_CAPS_pubclass LongValidatorAttribute

Declaratively instructs the .NET Framework to perform long-integer validation on a configuration property. This class cannot be inherited.

System_CAPS_pubclass NameValueConfigurationCollection

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

System_CAPS_pubclass NameValueConfigurationElement

A configuration element that contains a String name and String value. This class cannot be inherited.

System_CAPS_pubclass 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.

System_CAPS_pubclass NameValueSectionHandler

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

System_CAPS_pubclass NoSettingsVersionUpgradeAttribute

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

System_CAPS_pubclass PositiveTimeSpanValidator

Provides validation of a TimeSpan object. This class cannot be inherited.

System_CAPS_pubclass PositiveTimeSpanValidatorAttribute

Declaratively instructs the .NET Framework to perform time validation on a configuration property. This class cannot be inherited.

System_CAPS_pubclass PropertyInformation

Contains meta-information on an individual property within the configuration. This type cannot be inherited.

System_CAPS_pubclass PropertyInformationCollection

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

System_CAPS_pubclass ProtectedConfiguration

Provides access to the protected-configuration providers for the current application's configuration file.

System_CAPS_pubclass ProtectedConfigurationProvider

Is the base class to create providers for encrypting and decrypting protected-configuration data.

System_CAPS_pubclass ProtectedConfigurationProviderCollection

Provides a collection of ProtectedConfigurationProvider objects.

System_CAPS_pubclass ProtectedConfigurationSection

Provides programmatic access to the configProtectedData configuration section. This class cannot be inherited.

System_CAPS_pubclass ProtectedProviderSettings

Represents a group of configuration elements that configure the providers for the <configProtectedData> configuration section.

System_CAPS_pubclass ProviderSettings

Represents the configuration elements associated with a provider.

System_CAPS_pubclass ProviderSettingsCollection

Represents a collection of ProviderSettings objects.

System_CAPS_pubclass RegexStringValidator

Provides validation of a string based on the rules provided by a regular expression.

System_CAPS_pubclass RegexStringValidatorAttribute

Declaratively instructs the .NET Framework to perform string validation on a configuration property using a regular expression. This class cannot be inherited.

System_CAPS_pubclass RsaProtectedConfigurationProvider

Provides a ProtectedConfigurationProvider instance that uses RSA encryption to encrypt and decrypt configuration data.

System_CAPS_pubclass SchemeSettingElement

Represents an element in a SchemeSettingElementCollection class.

System_CAPS_pubclass SchemeSettingElementCollection

Represents a collection of SchemeSettingElement objects.

System_CAPS_pubclass SectionInformation

Contains metadata about an individual section within the configuration hierarchy. This class cannot be inherited.

System_CAPS_pubclass SettingAttribute

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

System_CAPS_pubclass SettingChangingEventArgs

Provides data for the SettingChanging event.

System_CAPS_pubclass SettingElement

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

System_CAPS_pubclass SettingElementCollection

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

System_CAPS_pubclass SettingsAttributeDictionary

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

System_CAPS_pubclass SettingsBase

Provides the base class used to support user property settings.

System_CAPS_pubclass SettingsContext

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

System_CAPS_pubclass SettingsDescriptionAttribute

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

System_CAPS_pubclass SettingsGroupDescriptionAttribute

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

System_CAPS_pubclass SettingsGroupNameAttribute

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

System_CAPS_pubclass SettingsLoadedEventArgs

Provides data for the SettingsLoaded event.

System_CAPS_pubclass SettingsManageabilityAttribute

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

System_CAPS_pubclass SettingsProperty

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

System_CAPS_pubclass SettingsPropertyCollection

Contains a collection of SettingsProperty objects.

System_CAPS_pubclass SettingsPropertyIsReadOnlyException

Provides an exception for read-only SettingsProperty objects.

System_CAPS_pubclass SettingsPropertyNotFoundException

Provides an exception for SettingsProperty objects that are not found.

System_CAPS_pubclass SettingsPropertyValue

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

System_CAPS_pubclass SettingsPropertyValueCollection

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

System_CAPS_pubclass SettingsPropertyWrongTypeException

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

System_CAPS_pubclass SettingsProvider

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

System_CAPS_pubclass SettingsProviderAttribute

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

System_CAPS_pubclass SettingsProviderCollection

Represents a collection of application settings providers.

System_CAPS_pubclass SettingsSerializeAsAttribute

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

System_CAPS_pubclass SettingValueElement

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

System_CAPS_pubclass SingleTagSectionHandler

This API supports the product infrastructure and is not intended to be used directly from your code. Handles configuration sections that are represented by a single XML tag in the .config file.

System_CAPS_pubclass SpecialSettingAttribute

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

System_CAPS_pubclass StringValidator

Provides validation of a string.

System_CAPS_pubclass StringValidatorAttribute

Declaratively instructs the .NET Framework to perform string validation on a configuration property. This class cannot be inherited.

System_CAPS_pubclass SubclassTypeValidator

Validates that an object is a derived class of a specified type.

System_CAPS_pubclass SubclassTypeValidatorAttribute

Declaratively instructs the .NET Framework to perform validation on a configuration property. This class cannot be inherited.

System_CAPS_pubclass TimeSpanMinutesConverter

Converts a time span expressed in minutes.

System_CAPS_pubclass TimeSpanMinutesOrInfiniteConverter

Converts a TimeSpan expressed in minutes or as a standard infinite time span.

System_CAPS_pubclass TimeSpanSecondsConverter

Converts a time span expressed in seconds.

System_CAPS_pubclass TimeSpanSecondsOrInfiniteConverter

Converts a TimeSpan expressed in seconds or as a standard infinite time span.

System_CAPS_pubclass TimeSpanValidator

Provides validation of a TimeSpan object.

System_CAPS_pubclass TimeSpanValidatorAttribute

Declaratively instructs the .NET Framework to perform time validation on a configuration property. This class cannot be inherited.

System_CAPS_pubclass TypeNameConverter

Converts between type and string values. This class cannot be inherited.

System_CAPS_pubclass UriSection

Represents the Uri section within a configuration file.

System_CAPS_pubclass UserScopedSettingAttribute

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

System_CAPS_pubclass UserSettingsGroup

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

System_CAPS_pubclass WhiteSpaceTrimStringConverter

Converts a string to its canonical format.

Interfaces
InterfaceDescription
System_CAPS_pubinterface IApplicationSettingsProvider

Defines extended capabilities for client-based application settings providers.

System_CAPS_pubinterface IConfigurationSectionHandler

Handles the access to certain configuration sections.

System_CAPS_pubinterface IConfigurationSystem

This API supports the product infrastructure and is not intended to be used directly from your code. Provides standard configuration methods.

System_CAPS_pubinterface IPersistComponentSettings

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

System_CAPS_pubinterface ISettingsProviderService

Provides an interface for defining an alternate application settings provider.

Delegates
DelegateDescription
System_CAPS_pubdelegate SettingChangingEventHandler

Represents the method that will handle the SettingChanging event.

System_CAPS_pubdelegate SettingsLoadedEventHandler

Represents the method that will handle the SettingsLoaded event.

System_CAPS_pubdelegate SettingsSavingEventHandler

Represents the method that will handle the SettingsSaving event.

System_CAPS_pubdelegate ValidatorCallback

Represents a method to be called after the validation of an object.

Enumerations
EnumerationDescription
System_CAPS_pubenum ConfigurationAllowDefinition

Specifies the locations within the configuration-file hierarchy that can set or override the properties contained within a ConfigurationSection object.

System_CAPS_pubenum ConfigurationAllowExeDefinition

Specifies the locations within the configuration-file hierarchy that can set or override the properties contained within a ConfigurationSection object.

System_CAPS_pubenum ConfigurationElementCollectionType

Specifies the type of a ConfigurationElementCollectionType object.

System_CAPS_pubenum ConfigurationPropertyOptions

Specifies the options to apply to a property.

System_CAPS_pubenum ConfigurationSaveMode

Determines which properties are written out to a configuration file.

System_CAPS_pubenum ConfigurationUserLevel

Used to specify which configuration file is to be represented by the Configuration object.

System_CAPS_pubenum OverrideMode

Specifies the override behavior of a configuration element for configuration elements in child directories.

System_CAPS_pubenum PropertyValueOrigin

Specifies the level in the configuration hierarchy where a configuration property value originated.

System_CAPS_pubenum SettingsManageability

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

System_CAPS_pubenum SettingsSerializeAs

Determines the serialization scheme used to store application settings.

System_CAPS_pubenum SpecialSetting

Specifies the special setting category of a application settings property.

Return to top