FileConfigurationSource 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 a configuration source that retrieves configuration information from an arbitrary file.

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

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(FileConfigurationSourceElement))> _
PublicClassFileConfigurationSource _
    Implements IConfigurationSource, IProtectedConfigurationSource
[ConfigurationElementTypeAttribute(typeof(FileConfigurationSourceElement))]
publicclassFileConfigurationSource : IConfigurationSource, 
    IProtectedConfigurationSource
[ConfigurationElementTypeAttribute(typeof(FileConfigurationSourceElement))]
publicref classFileConfigurationSource : IConfigurationSource, 
    IProtectedConfigurationSource
publicclass FileConfigurationSource implements IConfigurationSource, IProtectedConfigurationSource

Remarks

This configuration source uses a Configuration object to deserialize configuration, so the configuration file must be a valid .NET Framework configuration file.

Inheritance Hierarchy

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

See Also

FileConfigurationSource Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace

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.