Expand Minimize

System.Configuration Namespace

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

  ClassDescription
Public classApplicationScopedSettingAttributeSpecifies that an application settings property has a common value for all users of an application. This class cannot be inherited.
Public classApplicationSettingsBaseActs as a base class for deriving concrete wrapper classes to implement the application settings feature in Window Forms applications.
Public classApplicationSettingsGroupRepresents a grouping of related application settings sections within a configuration file. This class cannot be inherited.
Public classAppSettingsReaderProvides a method for reading values of a particular type from the configuration.
Public classAppSettingsSectionProvides configuration system support for the appSettings configuration section. This class cannot be inherited.
Public classCallbackValidatorProvides dynamic validation of an object.
Public classCallbackValidatorAttributeSpecifies a CallbackValidator object to use for code validation. This class cannot be inherited.
Public classClientSettingsSectionRepresents a group of user-scoped application settings in a configuration file.
Public classCommaDelimitedStringCollectionRepresents a collection of string elements separated by commas. This class cannot be inherited.
Public classCommaDelimitedStringCollectionConverterConverts a comma-delimited string value to and from a CommaDelimitedStringCollection object. This class cannot be inherited.
Public classConfigurationRepresents a configuration file applicable to a particular computer, application, or resource. This class cannot be inherited.
Public classConfigurationCollectionAttributeDeclaratively instructs the .NET Framework to create an instance of a configuration element collection. This class cannot be inherited.
Public classConfigurationConverterBaseThe base class for the configuration converter types.
Public classConfigurationElementRepresents a configuration element within a configuration file.
Public classConfigurationElementCollectionRepresents a configuration element containing a collection of child elements.
Public classConfigurationElementPropertySpecifies the property of a configuration element. This class cannot be inherited.
Public classConfigurationErrorsExceptionThe current value is not one of the EnableSessionState values.
Public classConfigurationExceptionThe exception that is thrown when a configuration system error has occurred.
Public classConfigurationFileMapDefines the configuration file mapping for the machine configuration file.
Public classConfigurationLocationRepresents a location element within a configuration file.
Public classConfigurationLocationCollectionContains a collection of ConfigurationLocationCollection objects.
Public classConfigurationLockCollectionContains a collection of locked configuration objects. This class cannot be inherited.
Public classConfigurationManagerProvides access to configuration files for client applications. This class cannot be inherited.
Public classConfigurationPermissionProvides a permission structure that allows methods or classes to access configuration files.
Public classConfigurationPermissionAttributeCreates a ConfigurationPermission object that either grants or denies the marked target permission to access sections of configuration files.
Public classConfigurationPropertyInfrastructure. Represents an attribute or a child of a configuration element. This class cannot be inherited.
Public classConfigurationPropertyAttributeDeclaratively instructs the .NET Framework to instantiate a configuration property. This class cannot be inherited.
Public classConfigurationPropertyCollectionRepresents a collection of configuration-element properties.
Public classConfigurationSectionRepresents a section within a configuration file.
Public classConfigurationSectionCollectionRepresents a collection of related sections within a configuration file.
Public classConfigurationSectionGroupRepresents a group of related sections within a configuration file.
Public classConfigurationSectionGroupCollectionRepresents a collection of ConfigurationSectionGroup objects.
Public classConfigurationSettingsProvides runtime versions 1.0 and 1.1 support for reading configuration sections and common configuration settings.
Public classConfigurationValidatorAttributeServes as the base class for the System.Configuration validator attribute types.
Public classConfigurationValidatorBaseActs as a base class for deriving a validation class so that a value of an object can be verified.
Public classConfigXmlDocumentInfrastructure. Wraps the corresponding XmlDocument type and also carries the necessary information for reporting file-name and line numbers.
Public classConnectionStringSettingsRepresents a single, named connection string in the connection strings configuration file section.
Public classConnectionStringSettingsCollectionContains a collection of ConnectionStringSettings objects.
Public classConnectionStringsSectionProvides programmatic access to the connection strings configuration-file section.
Public classContextInformationEncapsulates the context information that is associated with a ConfigurationElement object. This class cannot be inherited.
Public classDefaultSectionRepresents a basic configuration-section handler that exposes the configuration section's XML for both read and write access.
Public classDefaultSettingValueAttributeSpecifies the default value for an application settings property.
Public classDefaultValidatorProvides validation of an object. This class cannot be inherited.
Public classDictionarySectionHandlerProvides key/value pair configuration information from a configuration section.
Public classDpapiProtectedConfigurationProviderProvides a ProtectedConfigurationProvider object that uses the Windows data protection API (DPAPI) to encrypt and decrypt configuration data.
Public classElementInformationContains meta-information about an individual element within the configuration. This class cannot be inherited.
Public classExeConfigurationFileMapDefines the configuration file mapping for an .exe application. This class cannot be inherited.
Public classExeContextManages the path context for the current application. This class cannot be inherited.
Public classGenericEnumConverterConverts between a string and an enumeration type.
Public classIdnElementProvides the configuration setting for International Domain Name (IDN) processing in the System.Uri class.
Public classIgnoreSectionProvides a wrapper type definition for configuration sections that are not handled by the System.Configuration types.
Public classIgnoreSectionHandlerProvides a legacy section-handler definition for configuration sections that are not handled by the System.Configuration types.
Public classInfiniteIntConverterConverts between a string and the standard infinite or integer value.
Public classInfiniteTimeSpanConverterConverts between a string and the standard infinite TimeSpan value.
Public classIntegerValidatorProvides validation of an Int32 value.
Public classIntegerValidatorAttributeDeclaratively instructs the .NET Framework to perform integer validation on a configuration property. This class cannot be inherited.
Public classIriParsingElementProvides the configuration setting for International Resource Identifier (IRI) processing in the System.Uri class.
Public classKeyValueConfigurationCollectionContains a collection of KeyValueConfigurationElement objects.
Public classKeyValueConfigurationElementRepresents a configuration element that contains a key/value pair.
Public classLocalFileSettingsProviderProvides persistence for application settings classes.
Public classLongValidatorProvides validation of an Int64 value.
Public classLongValidatorAttributeDeclaratively instructs the .NET Framework to perform long-integer validation on a configuration property. This class cannot be inherited.
Public classNameValueConfigurationCollectionContains a collection of NameValueConfigurationElement objects. This class cannot be inherited.
Public classNameValueConfigurationElementA configuration element that contains a String name and String value. This class cannot be inherited.
Public classNameValueFileSectionHandlerProvides access to a configuration file. This type supports the .NET Framework configuration infrastructure and is not intended to be used directly from your code.
Public classNameValueSectionHandlerProvides name/value-pair configuration information from a configuration section.
Public classNoSettingsVersionUpgradeAttributeSpecifies that a settings provider should disable any logic that gets invoked when an application upgrade is detected. This class cannot be inherited.
Public classPositiveTimeSpanValidatorProvides validation of a TimeSpan object. This class cannot be inherited.
Public classPositiveTimeSpanValidatorAttributeDeclaratively instructs the .NET Framework to perform time validation on a configuration property. This class cannot be inherited.
Public classPropertyInformationContains meta-information on an individual property within the configuration. This type cannot be inherited.
Public classPropertyInformationCollectionContains a collection of PropertyInformation objects. This class cannot be inherited.
Public classProtectedConfigurationProvides access to the protected-configuration providers for the current application's configuration file.
Public classProtectedConfigurationProviderIs the base class to create providers for encrypting and decrypting protected-configuration data.
Public classProtectedConfigurationProviderCollectionProvides a collection of ProtectedConfigurationProvider objects.
Public classProtectedConfigurationSectionProvides programmatic access to the configProtectedData configuration section. This class cannot be inherited.
Public classProtectedProviderSettingsRepresents a group of configuration elements that configure the providers for the <configProtectedData> configuration section.
Public classProviderSettingsRepresents the configuration elements associated with a provider.
Public classProviderSettingsCollectionRepresents a collection of ProviderSettings objects.
Public classRegexStringValidatorProvides validation of a string based on the rules provided by a regular expression.
Public classRegexStringValidatorAttributeDeclaratively instructs the .NET Framework to perform string validation on a configuration property using a regular expression. This class cannot be inherited.
Public classRsaProtectedConfigurationProviderProvides a ProtectedConfigurationProvider instance that uses RSA encryption to encrypt and decrypt configuration data.
Public classSectionInformationContains metadata about an individual section within the configuration hierarchy. This class cannot be inherited.
Public classSettingAttributeRepresents a custom settings attribute used to associate settings information with a settings property.
Public classSettingChangingEventArgsProvides data for the SettingChanging event.
Public classSettingElementRepresents a simplified configuration element used for updating elements in the configuration. This class cannot be inherited.
Public classSettingElementCollectionContains a collection of SettingElement objects. This class cannot be inherited.
Public classSettingsAttributeDictionaryRepresents a collection of key/value pairs used to describe a configuration object as well as a SettingsProperty object.
Public classSettingsBaseProvides the base class used to support user property settings.
Public classSettingsContextProvides contextual information that the provider can use when persisting settings.
Public classSettingsDescriptionAttributeProvides a string that describes an individual configuration property. This class cannot be inherited.
Public classSettingsGroupDescriptionAttributeProvides a string that describes an application settings property group. This class cannot be inherited.
Public classSettingsGroupNameAttributeSpecifies a name for application settings property group. This class cannot be inherited.
Public classSettingsLoadedEventArgsProvides data for the SettingsLoaded event.
Public classSettingsManageabilityAttributeSpecifies special services for application settings properties. This class cannot be inherited.
Public classSettingsPropertyUsed internally as the class that represents metadata about an individual configuration property.
Public classSettingsPropertyCollectionContains a collection of SettingsProperty objects.
Public classSettingsPropertyIsReadOnlyExceptionProvides an exception for read-only SettingsProperty objects.
Public classSettingsPropertyNotFoundExceptionProvides an exception for SettingsProperty objects that are not found.
Public classSettingsPropertyValueContains the value of a settings property that can be loaded and stored by an instance of SettingsBase.
Public classSettingsPropertyValueCollectionContains a collection of settings property values that map SettingsProperty objects to SettingsPropertyValue objects.
Public classSettingsPropertyWrongTypeExceptionProvides an exception that is thrown when an invalid type is used with a SettingsProperty object.
Public classSettingsProviderActs as a base class for deriving custom settings providers in the application settings architecture.
Public classSettingsProviderAttributeSpecifies the settings provider used to provide storage for the current application settings class or property. This class cannot be inherited.
Public classSettingsProviderCollectionRepresents a collection of application settings providers.
Public classSettingsSerializeAsAttributeSpecifies the serialization mechanism that the settings provider should use. This class cannot be inherited.
Public classSettingValueElementContains the XML representing the serialized value of the setting. This class cannot be inherited.
Public classSingleTagSectionHandlerInfrastructure. Handles configuration sections that are represented by a single XML tag in the .config file.
Public classSpecialSettingAttributeIndicates that an application settings property has a special significance. This class cannot be inherited.
Public classStringValidatorProvides validation of a string.
Public classStringValidatorAttributeDeclaratively instructs the .NET Framework to perform string validation on a configuration property. This class cannot be inherited.
Public classSubclassTypeValidatorValidates that an object is a derived class of a specified type.
Public classSubclassTypeValidatorAttributeDeclaratively instructs the .NET Framework to perform validation on a configuration property. This class cannot be inherited.
Public classTimeSpanMinutesConverterConverts a time span expressed in minutes.
Public classTimeSpanMinutesOrInfiniteConverterConverts a TimeSpan expressed in minutes or as a standard infinite time span.
Public classTimeSpanSecondsConverterConverts a time span expressed in seconds.
Public classTimeSpanSecondsOrInfiniteConverterConverts a TimeSpan expressed in seconds or as a standard infinite time span.
Public classTimeSpanValidatorProvides validation of a TimeSpan object.
Public classTimeSpanValidatorAttributeDeclaratively instructs the .NET Framework to perform time validation on a configuration property. This class cannot be inherited.
Public classTypeNameConverterConverts between type and string values. This class cannot be inherited.
Public classUriSectionRepresents the Uri section within a configuration file.
Public classUserScopedSettingAttributeSpecifies that an application settings group or property contains distinct values for each user of an application. This class cannot be inherited.
Public classUserSettingsGroupRepresents a grouping of related user settings sections within a configuration file. This class cannot be inherited.
Public classWhiteSpaceTrimStringConverterConverts a string to its canonical format.

  InterfaceDescription
Public interfaceIApplicationSettingsProviderDefines extended capabilities for client-based application settings providers.
Public interfaceIConfigurationSectionHandlerHandles the access to certain configuration sections.
Public interfaceIConfigurationSystemInfrastructure. Provides standard configuration methods.
Public interfaceIPersistComponentSettingsDefines standard functionality for controls or libraries that store and retrieve application settings.
Public interfaceISettingsProviderServiceProvides an interface for defining an alternate application settings provider.

  DelegateDescription
Public delegateSettingChangingEventHandlerRepresents the method that will handle the SettingChanging event.
Public delegateSettingsLoadedEventHandlerRepresents the method that will handle the SettingsLoaded event.
Public delegateSettingsSavingEventHandlerRepresents the method that will handle the SettingsSaving event.
Public delegateValidatorCallbackRepresents a method to be called after the validation of an object.

  EnumerationDescription
Public enumerationConfigurationAllowDefinitionSpecifies the locations within the configuration-file hierarchy that can set or override the properties contained within a ConfigurationSection object.
Public enumerationConfigurationAllowExeDefinitionSpecifies the locations within the configuration-file hierarchy that can set or override the properties contained within a ConfigurationSection object.
Public enumerationConfigurationElementCollectionTypeSpecifies the type of a ConfigurationElementCollectionType object.
Public enumerationConfigurationPropertyOptionsSpecifies the options to apply to a property.
Public enumerationConfigurationSaveModeDetermines which properties are written out to a configuration file.
Public enumerationConfigurationUserLevelUsed to specify which configuration file is to be represented by the Configuration object.
Public enumerationOverrideModeSpecifies the override behavior of a configuration element for configuration elements in child directories.
Public enumerationPropertyValueOriginSpecifies the level in the configuration hierarchy where a configuration property value originated.
Public enumerationSettingsManageabilityProvides values to indicate which services should be made available to application settings.
Public enumerationSettingsSerializeAsDetermines the serialization scheme used to store application settings.
Public enumerationSpecialSettingSpecifies the special setting category of a application settings property.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft