Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Configuration Namespace

 

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

ClassDescription
System_CAPS_pubclassApplicationScopedSettingAttribute

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

System_CAPS_pubclassApplicationSettingsBase

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

System_CAPS_pubclassApplicationSettingsGroup

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

System_CAPS_pubclassAppSettingsReader

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

System_CAPS_pubclassAppSettingsSection

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

System_CAPS_pubclassCallbackValidator

Provides dynamic validation of an object.

System_CAPS_pubclassCallbackValidatorAttribute

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

System_CAPS_pubclassClientSettingsSection

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

System_CAPS_pubclassCommaDelimitedStringCollection

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

System_CAPS_pubclassCommaDelimitedStringCollectionConverter

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

System_CAPS_pubclassConfiguration

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

System_CAPS_pubclassConfigurationCollectionAttribute

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

System_CAPS_pubclassConfigurationConverterBase

The base class for the configuration converter types.

System_CAPS_pubclassConfigurationElement

Represents a configuration element within a configuration file.

System_CAPS_pubclassConfigurationElementCollection

Represents a configuration element containing a collection of child elements.

System_CAPS_pubclassConfigurationElementProperty

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

System_CAPS_pubclassConfigurationErrorsException

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

System_CAPS_pubclassConfigurationException

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

System_CAPS_pubclassConfigurationFileMap

Defines the configuration file mapping for the machine configuration file.

System_CAPS_pubclassConfigurationLocation

Represents a location element within a configuration file.

System_CAPS_pubclassConfigurationLocationCollection

Contains a collection of ConfigurationLocationCollection objects.

System_CAPS_pubclassConfigurationLockCollection

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

System_CAPS_pubclassConfigurationManager

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

System_CAPS_pubclassConfigurationPermission

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

System_CAPS_pubclassConfigurationPermissionAttribute

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

System_CAPS_pubclassConfigurationProperty

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_pubclassConfigurationPropertyAttribute

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

System_CAPS_pubclassConfigurationPropertyCollection

Represents a collection of configuration-element properties.

System_CAPS_pubclassConfigurationSection

Represents a section within a configuration file.

System_CAPS_pubclassConfigurationSectionCollection

Represents a collection of related sections within a configuration file.

System_CAPS_pubclassConfigurationSectionGroup

Represents a group of related sections within a configuration file.

System_CAPS_pubclassConfigurationSectionGroupCollection

Represents a collection of ConfigurationSectionGroup objects.

System_CAPS_pubclassConfigurationSettings

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

System_CAPS_pubclassConfigurationValidatorAttribute

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

System_CAPS_pubclassConfigurationValidatorBase

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

System_CAPS_pubclassConfigXmlDocument

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_pubclassConnectionStringSettings

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

System_CAPS_pubclassConnectionStringSettingsCollection

Contains a collection of ConnectionStringSettings objects.

System_CAPS_pubclassConnectionStringsSection

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

System_CAPS_pubclassContextInformation

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

System_CAPS_pubclassDefaultSection

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

System_CAPS_pubclassDefaultSettingValueAttribute

Specifies the default value for an application settings property.

System_CAPS_pubclassDefaultValidator

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

System_CAPS_pubclassDictionarySectionHandler

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

System_CAPS_pubclassDpapiProtectedConfigurationProvider

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

System_CAPS_pubclassElementInformation

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

System_CAPS_pubclassExeConfigurationFileMap

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

System_CAPS_pubclassExeContext

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

System_CAPS_pubclassGenericEnumConverter

Converts between a string and an enumeration type.

System_CAPS_pubclassIdnElement

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

System_CAPS_pubclassIgnoreSection

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

System_CAPS_pubclassIgnoreSectionHandler

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

System_CAPS_pubclassInfiniteIntConverter

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

System_CAPS_pubclassInfiniteTimeSpanConverter

Converts between a string and the standard infinite TimeSpan value.

System_CAPS_pubclassIntegerValidator

Provides validation of an Int32 value.

System_CAPS_pubclassIntegerValidatorAttribute

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

System_CAPS_pubclassIriParsingElement

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

System_CAPS_pubclassKeyValueConfigurationCollection

Contains a collection of KeyValueConfigurationElement objects.

System_CAPS_pubclassKeyValueConfigurationElement

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

System_CAPS_pubclassLocalFileSettingsProvider

Provides persistence for application settings classes.

System_CAPS_pubclassLongValidator

Provides validation of an Int64 value.

System_CAPS_pubclassLongValidatorAttribute

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

System_CAPS_pubclassNameValueConfigurationCollection

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

System_CAPS_pubclassNameValueConfigurationElement

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

System_CAPS_pubclassNameValueFileSectionHandler

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_pubclassNameValueSectionHandler

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

System_CAPS_pubclassNoSettingsVersionUpgradeAttribute

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_pubclassPositiveTimeSpanValidator

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

System_CAPS_pubclassPositiveTimeSpanValidatorAttribute

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

System_CAPS_pubclassPropertyInformation

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

System_CAPS_pubclassPropertyInformationCollection

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

System_CAPS_pubclassProtectedConfiguration

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

System_CAPS_pubclassProtectedConfigurationProvider

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

System_CAPS_pubclassProtectedConfigurationProviderCollection

Provides a collection of ProtectedConfigurationProvider objects.

System_CAPS_pubclassProtectedConfigurationSection

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

System_CAPS_pubclassProtectedProviderSettings

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

System_CAPS_pubclassProviderSettings

Represents the configuration elements associated with a provider.

System_CAPS_pubclassProviderSettingsCollection

Represents a collection of ProviderSettings objects.

System_CAPS_pubclassRegexStringValidator

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

System_CAPS_pubclassRegexStringValidatorAttribute

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

System_CAPS_pubclassRsaProtectedConfigurationProvider

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

System_CAPS_pubclassSchemeSettingElement

Represents an element in a SchemeSettingElementCollection class.

System_CAPS_pubclassSchemeSettingElementCollection

Represents a collection of SchemeSettingElement objects.

System_CAPS_pubclassSectionInformation

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

System_CAPS_pubclassSettingAttribute

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

System_CAPS_pubclassSettingChangingEventArgs

Provides data for the SettingChanging event.

System_CAPS_pubclassSettingElement

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

System_CAPS_pubclassSettingElementCollection

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

System_CAPS_pubclassSettingsAttributeDictionary

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

System_CAPS_pubclassSettingsBase

Provides the base class used to support user property settings.

System_CAPS_pubclassSettingsContext

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

System_CAPS_pubclassSettingsDescriptionAttribute

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

System_CAPS_pubclassSettingsGroupDescriptionAttribute

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

System_CAPS_pubclassSettingsGroupNameAttribute

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

System_CAPS_pubclassSettingsLoadedEventArgs

Provides data for the SettingsLoaded event.

System_CAPS_pubclassSettingsManageabilityAttribute

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

System_CAPS_pubclassSettingsProperty

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

System_CAPS_pubclassSettingsPropertyCollection

Contains a collection of SettingsProperty objects.

System_CAPS_pubclassSettingsPropertyIsReadOnlyException

Provides an exception for read-only SettingsProperty objects.

System_CAPS_pubclassSettingsPropertyNotFoundException

Provides an exception for SettingsProperty objects that are not found.

System_CAPS_pubclassSettingsPropertyValue

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

System_CAPS_pubclassSettingsPropertyValueCollection

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

System_CAPS_pubclassSettingsPropertyWrongTypeException

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

System_CAPS_pubclassSettingsProvider

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

System_CAPS_pubclassSettingsProviderAttribute

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

System_CAPS_pubclassSettingsProviderCollection

Represents a collection of application settings providers.

System_CAPS_pubclassSettingsSerializeAsAttribute

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

System_CAPS_pubclassSettingValueElement

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

System_CAPS_pubclassSingleTagSectionHandler

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_pubclassSpecialSettingAttribute

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

System_CAPS_pubclassStringValidator

Provides validation of a string.

System_CAPS_pubclassStringValidatorAttribute

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

System_CAPS_pubclassSubclassTypeValidator

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

System_CAPS_pubclassSubclassTypeValidatorAttribute

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

System_CAPS_pubclassTimeSpanMinutesConverter

Converts a time span expressed in minutes.

System_CAPS_pubclassTimeSpanMinutesOrInfiniteConverter

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

System_CAPS_pubclassTimeSpanSecondsConverter

Converts a time span expressed in seconds.

System_CAPS_pubclassTimeSpanSecondsOrInfiniteConverter

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

System_CAPS_pubclassTimeSpanValidator

Provides validation of a TimeSpan object.

System_CAPS_pubclassTimeSpanValidatorAttribute

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

System_CAPS_pubclassTypeNameConverter

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

System_CAPS_pubclassUriSection

Represents the Uri section within a configuration file.

System_CAPS_pubclassUserScopedSettingAttribute

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

System_CAPS_pubclassUserSettingsGroup

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

System_CAPS_pubclassWhiteSpaceTrimStringConverter

Converts a string to its canonical format.

InterfaceDescription
System_CAPS_pubinterfaceIApplicationSettingsProvider

Defines extended capabilities for client-based application settings providers.

System_CAPS_pubinterfaceIConfigurationSectionHandler

Handles the access to certain configuration sections.

System_CAPS_pubinterfaceIConfigurationSystem

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

System_CAPS_pubinterfaceIPersistComponentSettings

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

System_CAPS_pubinterfaceISettingsProviderService

Provides an interface for defining an alternate application settings provider.

DelegateDescription
System_CAPS_pubdelegateSettingChangingEventHandler

Represents the method that will handle the SettingChanging event.

System_CAPS_pubdelegateSettingsLoadedEventHandler

Represents the method that will handle the SettingsLoaded event.

System_CAPS_pubdelegateSettingsSavingEventHandler

Represents the method that will handle the SettingsSaving event.

System_CAPS_pubdelegateValidatorCallback

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

EnumerationDescription
System_CAPS_pubenumConfigurationAllowDefinition

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

System_CAPS_pubenumConfigurationAllowExeDefinition

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

System_CAPS_pubenumConfigurationElementCollectionType

Specifies the type of a ConfigurationElementCollectionType object.

System_CAPS_pubenumConfigurationPropertyOptions

Specifies the options to apply to a property.

System_CAPS_pubenumConfigurationSaveMode

Determines which properties are written out to a configuration file.

System_CAPS_pubenumConfigurationUserLevel

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

System_CAPS_pubenumOverrideMode

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

System_CAPS_pubenumPropertyValueOrigin

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

System_CAPS_pubenumSettingsManageability

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

System_CAPS_pubenumSettingsSerializeAs

Determines the serialization scheme used to store application settings.

System_CAPS_pubenumSpecialSetting

Specifies the special setting category of a application settings property.

Return to top
Show:
© 2016 Microsoft