Partager via


FileConfigurationSource Members

Include Protected Members
Include Inherited Members

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.

The FileConfigurationSource type exposes the following members.

Constructors

  Name Description
Public method FileConfigurationSource
Initializes a new instance of the FileConfigurationSource class with a configuration file path.

Methods

  Name Description
Public method Add Overloaded.
Public method AddSectionChangeHandler
Adds a handler to be called when changes to section
sectionName
are detected. This call should always be followed by a RemoveSectionChangeHandler(String, ConfigurationChangedEventHandler). Failure to remove change handlers will result in .Net resource leaks.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetSection
Retrieves the specified ConfigurationSection.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Overloaded.
Public method RemoveSectionChangeHandler
Remove a handler to be called when changes to section
sectionName
are detected. This class should always follow a call to AddSectionChangeHandler(String, ConfigurationChangedEventHandler). Failure to call these methods in pairs will result in .Net resource leaks.
Public methodStatic member ResetImplementation
Flushes the internal cache of the FileConfigurationSource.
Public method Save Overloaded.
Public method ToString (Inherited from Object.)

See Also

FileConfigurationSource Class

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.