Jaa


SystemConfigurationSource Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents an IConfigurationSource that retrieves the configuration information from the application's default configuration file using the ConfigurationManager API.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(SystemConfigurationSourceElement))> _
PublicClassSystemConfigurationSource _
    Implements IConfigurationSource
[ConfigurationElementTypeAttribute(typeof(SystemConfigurationSourceElement))]
publicclassSystemConfigurationSource : IConfigurationSource
[ConfigurationElementTypeAttribute(typeof(SystemConfigurationSourceElement))]
publicref classSystemConfigurationSource : IConfigurationSource
publicclass SystemConfigurationSource implements IConfigurationSource

Remarks

The SystemConfigurationSource is a wrapper over the static configuration access API provided by ConfigurationManager and watches for changes in the configuration files to refresh the configuration when a change is detected.

It uses a shared instance of SystemConfigurationSourceImplementation to manage the access to the configuration subsystem and to manage the file change watchers.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.SystemConfigurationSource

See Also

SystemConfigurationSource Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace

System.Configuration.ConfigurationManager

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.SystemConfigurationSourceImplementation

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.