Export (0) Print
Expand All
Expand Minimize

System.Configuration Namespace

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

  Class Description
Public class ApplicationScopedSettingAttribute Specifies that an application settings property has a common value for all users of an application. This class cannot be inherited.
Public class ApplicationSettingsBase Acts as a base class for deriving concrete wrapper classes to implement the application settings feature in Window Forms applications.
Public class ApplicationSettingsGroup Represents a grouping of related application settings sections within a configuration file. This class cannot be inherited.
Public class AppSettingsReader Provides a method for reading values of a particular type from the configuration.
Public class AppSettingsSection Provides configuration system support for the appSettings configuration section. This class cannot be inherited.
Public class CallbackValidator Provides dynamic validation of an object.
Public class CallbackValidatorAttribute Specifies a CallbackValidator object to use for code validation. This class cannot be inherited.
Public class ClientSettingsSection Represents a group of user-scoped application settings in a configuration file.
Public class CommaDelimitedStringCollection Represents a collection of string elements separated by commas. This class cannot be inherited.
Public class CommaDelimitedStringCollectionConverter Converts a comma-delimited string value to and from a CommaDelimitedStringCollection object. This class cannot be inherited.
Public class Configuration Represents a configuration file that is applicable to a particular computer, application, or resource. This class cannot be inherited.
Public class ConfigurationCollectionAttribute Declaratively instructs the .NET Framework to create an instance of a configuration element collection. This class cannot be inherited.
Public class ConfigurationConverterBase The base class for the configuration converter types.
Public class ConfigurationElement Represents a configuration element within a configuration file.
Public class ConfigurationElementCollection Represents a configuration element containing a collection of child elements.
Public class ConfigurationElementProperty Specifies the property of a configuration element. This class cannot be inherited.
Public class ConfigurationErrorsException The current value is not one of the EnableSessionState values.
Public class ConfigurationException The exception that is thrown when a configuration system error has occurred.
Public class ConfigurationFileMap Defines the configuration file mapping for the machine configuration file.
Public class ConfigurationLocation Represents a location element within a configuration file.
Public class ConfigurationLocationCollection Contains a collection of ConfigurationLocationCollection objects.
Public class ConfigurationLockCollection Contains a collection of locked configuration objects. This class cannot be inherited.
Public class ConfigurationManager Provides access to configuration files for client applications. This class cannot be inherited.
Public class ConfigurationPermission Provides a permission structure that allows methods or classes to access configuration files.
Public class ConfigurationPermissionAttribute Creates a ConfigurationPermission object that either grants or denies the marked target permission to access sections of configuration files.
Public class ConfigurationProperty Infrastructure. Represents an attribute or a child of a configuration element. This class cannot be inherited.
Public class ConfigurationPropertyAttribute Declaratively instructs the .NET Framework to instantiate a configuration property. This class cannot be inherited.
Public class ConfigurationPropertyCollection Represents a collection of configuration-element properties.
Public class ConfigurationSection Represents a section within a configuration file.
Public class ConfigurationSectionCollection Represents a collection of related sections within a configuration file.
Public class ConfigurationSectionGroup Represents a group of related sections within a configuration file.
Public class ConfigurationSectionGroupCollection Represents a collection of ConfigurationSectionGroup objects.
Public class ConfigurationSettings Provides runtime versions 1.0 and 1.1 support for reading configuration sections and common configuration settings.
Public class ConfigurationValidatorAttribute Serves as the base class for the System.Configuration validator attribute types.
Public class ConfigurationValidatorBase Acts as a base class for deriving a validation class so that a value of an object can be verified.
Public class ConfigXmlDocument Infrastructure. Wraps the corresponding XmlDocument type and also carries the necessary information for reporting file-name and line numbers.
Public class ConnectionStringSettings Represents a single, named connection string in the connection strings configuration file section.
Public class ConnectionStringSettingsCollection Contains a collection of ConnectionStringSettings objects.
Public class ConnectionStringsSection Provides programmatic access to the connection strings configuration-file section.
Public class ContextInformation Encapsulates the context information that is associated with a ConfigurationElement object. This class cannot be inherited.
Public class DefaultSection Represents a basic configuration-section handler that exposes the configuration section's XML for both read and write access.
Public class DefaultSettingValueAttribute Specifies the default value for an application settings property.
Public class DefaultValidator Provides validation of an object. This class cannot be inherited.
Public class DictionarySectionHandler Provides key/value pair configuration information from a configuration section.
Public class DpapiProtectedConfigurationProvider Provides a ProtectedConfigurationProvider object that uses the Windows data protection API (DPAPI) to encrypt and decrypt configuration data.
Public class ElementInformation Contains meta-information about an individual element within the configuration. This class cannot be inherited.
Public class ExeConfigurationFileMap Defines the configuration file mapping for an .exe application. This class cannot be inherited.
Public class ExeContext Manages the path context for the current application. This class cannot be inherited.
Public class GenericEnumConverter Converts between a string and an enumeration type.
Public class IdnElement Provides the configuration setting for International Domain Name (IDN) processing in the System.Uri class.
Public class IgnoreSection Provides a wrapper type definition for configuration sections that are not handled by the System.Configuration types.
Public class IgnoreSectionHandler Provides a legacy section-handler definition for configuration sections that are not handled by the System.Configuration types.
Public class InfiniteIntConverter Converts between a string and the standard infinite or integer value.
Public class InfiniteTimeSpanConverter Converts between a string and the standard infinite TimeSpan value.
Public class IntegerValidator Provides validation of an Int32 value.
Public class IntegerValidatorAttribute Declaratively instructs the .NET Framework to perform integer validation on a configuration property. This class cannot be inherited.
Public class IriParsingElement Provides the configuration setting for International Resource Identifier (IRI) processing in the System.Uri class.
Public class KeyValueConfigurationCollection Contains a collection of KeyValueConfigurationElement objects.
Public class KeyValueConfigurationElement Represents a configuration element that contains a key/value pair.
Public class LocalFileSettingsProvider Provides persistence for application settings classes.
Public class LongValidator Provides validation of an Int64 value.
Public class LongValidatorAttribute Declaratively instructs the .NET Framework to perform long-integer validation on a configuration property. This class cannot be inherited.
Public class NameValueConfigurationCollection Contains a collection of NameValueConfigurationElement objects. This class cannot be inherited.
Public class NameValueConfigurationElement A configuration element that contains a String name and String value. This class cannot be inherited.
Public class 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.
Public class NameValueSectionHandler Provides name/value-pair configuration information from a configuration section.
Public class NoSettingsVersionUpgradeAttribute Specifies that a settings provider should disable any logic that gets invoked when an application upgrade is detected. This class cannot be inherited.
Public class PositiveTimeSpanValidator Provides validation of a TimeSpan object. This class cannot be inherited.
Public class PositiveTimeSpanValidatorAttribute Declaratively instructs the .NET Framework to perform time validation on a configuration property. This class cannot be inherited.
Public class PropertyInformation Contains meta-information on an individual property within the configuration. This type cannot be inherited.
Public class PropertyInformationCollection Contains a collection of PropertyInformation objects. This class cannot be inherited.
Public class ProtectedConfiguration Provides access to the protected-configuration providers for the current application's configuration file.
Public class ProtectedConfigurationProvider Is the base class to create providers for encrypting and decrypting protected-configuration data.
Public class ProtectedConfigurationProviderCollection Provides a collection of ProtectedConfigurationProvider objects.
Public class ProtectedConfigurationSection Provides programmatic access to the configProtectedData configuration section. This class cannot be inherited.
Public class ProtectedProviderSettings Represents a group of configuration elements that configure the providers for the <configProtectedData> configuration section.
Public class ProviderSettings Represents the configuration elements associated with a provider.
Public class ProviderSettingsCollection Represents a collection of ProviderSettings objects.
Public class RegexStringValidator Provides validation of a string based on the rules provided by a regular expression.
Public class RegexStringValidatorAttribute Declaratively instructs the .NET Framework to perform string validation on a configuration property using a regular expression. This class cannot be inherited.
Public class RsaProtectedConfigurationProvider Provides a ProtectedConfigurationProvider instance that uses RSA encryption to encrypt and decrypt configuration data.
Public class SchemeSettingElement Represents an element in a SchemeSettingElementCollection class.
Public class SchemeSettingElementCollection Represents a collection of SchemeSettingElement objects.
Public class SectionInformation Contains metadata about an individual section within the configuration hierarchy. This class cannot be inherited.
Public class SettingAttribute Represents a custom settings attribute used to associate settings information with a settings property.
Public class SettingChangingEventArgs Provides data for the SettingChanging event.
Public class SettingElement Represents a simplified configuration element used for updating elements in the configuration. This class cannot be inherited.
Public class SettingElementCollection Contains a collection of SettingElement objects. This class cannot be inherited.
Public class SettingsAttributeDictionary Represents a collection of key/value pairs used to describe a configuration object as well as a SettingsProperty object.
Public class SettingsBase Provides the base class used to support user property settings.
Public class SettingsContext Provides contextual information that the provider can use when persisting settings.
Public class SettingsDescriptionAttribute Provides a string that describes an individual configuration property. This class cannot be inherited.
Public class SettingsGroupDescriptionAttribute Provides a string that describes an application settings property group. This class cannot be inherited.
Public class SettingsGroupNameAttribute Specifies a name for application settings property group. This class cannot be inherited.
Public class SettingsLoadedEventArgs Provides data for the SettingsLoaded event.
Public class SettingsManageabilityAttribute Specifies special services for application settings properties. This class cannot be inherited.
Public class SettingsProperty Used internally as the class that represents metadata about an individual configuration property.
Public class SettingsPropertyCollection Contains a collection of SettingsProperty objects.
Public class SettingsPropertyIsReadOnlyException Provides an exception for read-only SettingsProperty objects.
Public class SettingsPropertyNotFoundException Provides an exception for SettingsProperty objects that are not found.
Public class SettingsPropertyValue Contains the value of a settings property that can be loaded and stored by an instance of SettingsBase.
Public class SettingsPropertyValueCollection Contains a collection of settings property values that map SettingsProperty objects to SettingsPropertyValue objects.
Public class SettingsPropertyWrongTypeException Provides an exception that is thrown when an invalid type is used with a SettingsProperty object.
Public class SettingsProvider Acts as a base class for deriving custom settings providers in the application settings architecture.
Public class SettingsProviderAttribute Specifies the settings provider used to provide storage for the current application settings class or property. This class cannot be inherited.
Public class SettingsProviderCollection Represents a collection of application settings providers.
Public class SettingsSerializeAsAttribute Specifies the serialization mechanism that the settings provider should use. This class cannot be inherited.
Public class SettingValueElement Contains the XML representing the serialized value of the setting. This class cannot be inherited.
Public class SingleTagSectionHandler Infrastructure. Handles configuration sections that are represented by a single XML tag in the .config file.
Public class SpecialSettingAttribute Indicates that an application settings property has a special significance. This class cannot be inherited.
Public class StringValidator Provides validation of a string.
Public class StringValidatorAttribute Declaratively instructs the .NET Framework to perform string validation on a configuration property. This class cannot be inherited.
Public class SubclassTypeValidator Validates that an object is a derived class of a specified type.
Public class SubclassTypeValidatorAttribute Declaratively instructs the .NET Framework to perform validation on a configuration property. This class cannot be inherited.
Public class TimeSpanMinutesConverter Converts a time span expressed in minutes.
Public class TimeSpanMinutesOrInfiniteConverter Converts a TimeSpan expressed in minutes or as a standard infinite time span.
Public class TimeSpanSecondsConverter Converts a time span expressed in seconds.
Public class TimeSpanSecondsOrInfiniteConverter Converts a TimeSpan expressed in seconds or as a standard infinite time span.
Public class TimeSpanValidator Provides validation of a TimeSpan object.
Public class TimeSpanValidatorAttribute Declaratively instructs the .NET Framework to perform time validation on a configuration property. This class cannot be inherited.
Public class TypeNameConverter Converts between type and string values. This class cannot be inherited.
Public class UriSection Represents the Uri section within a configuration file.
Public class UserScopedSettingAttribute Specifies that an application settings group or property contains distinct values for each user of an application. This class cannot be inherited.
Public class UserSettingsGroup Represents a grouping of related user settings sections within a configuration file. This class cannot be inherited.
Public class WhiteSpaceTrimStringConverter Converts a string to its canonical format.

  Interface Description
Public interface IApplicationSettingsProvider Defines extended capabilities for client-based application settings providers.
Public interface IConfigurationSectionHandler Handles the access to certain configuration sections.
Public interface IConfigurationSystem Infrastructure. Provides standard configuration methods.
Public interface IPersistComponentSettings Defines standard functionality for controls or libraries that store and retrieve application settings.
Public interface ISettingsProviderService Provides an interface for defining an alternate application settings provider.

  Delegate Description
Public delegate SettingChangingEventHandler Represents the method that will handle the SettingChanging event.
Public delegate SettingsLoadedEventHandler Represents the method that will handle the SettingsLoaded event.
Public delegate SettingsSavingEventHandler Represents the method that will handle the SettingsSaving event.
Public delegate ValidatorCallback Represents a method to be called after the validation of an object.

  Enumeration Description
Public enumeration ConfigurationAllowDefinition Specifies the locations within the configuration-file hierarchy that can set or override the properties contained within a ConfigurationSection object.
Public enumeration ConfigurationAllowExeDefinition Specifies the locations within the configuration-file hierarchy that can set or override the properties contained within a ConfigurationSection object.
Public enumeration ConfigurationElementCollectionType Specifies the type of a ConfigurationElementCollectionType object.
Public enumeration ConfigurationPropertyOptions Specifies the options to apply to a property.
Public enumeration ConfigurationSaveMode Determines which properties are written out to a configuration file.
Public enumeration ConfigurationUserLevel Used to specify which configuration file is to be represented by the Configuration object.
Public enumeration OverrideMode Specifies the override behavior of a configuration element for configuration elements in child directories.
Public enumeration PropertyValueOrigin Specifies the level in the configuration hierarchy where a configuration property value originated.
Public enumeration SettingsManageability Provides values to indicate which services should be made available to application settings.
Public enumeration SettingsSerializeAs Determines the serialization scheme used to store application settings.
Public enumeration SpecialSetting Specifies the special setting category of a application settings property.
Show:
© 2014 Microsoft