Export (0) Print
Expand All

SystemConfigurationSource Methods

The SystemConfigurationSource type exposes the following members.

  Name Description
Public method Add
Adds a ConfigurationSection to the configuration and saves the configuration source.
(Inherited from FileBasedConfigurationSource.)
Public method AddSectionChangeHandler
Adds a handler to be called when changes to section
sectionName
are detected.
(Inherited from FileBasedConfigurationSource.)
Public method Dispose()
Releases the resources used by the change watchers.
(Inherited from FileBasedConfigurationSource.)
Protected method Dispose(Boolean)
Releases the resources used by the change watchers.
(Inherited from FileBasedConfigurationSource.)
Public method DoAdd
Adds a ConfigurationSection to the configuration and saves the configuration source.
(Overrides FileBasedConfigurationSource.DoAdd(String, ConfigurationSection).)
Protected method DoGetSection
Retrieves the specified ConfigurationSection from the configuration file.
(Overrides FileBasedConfigurationSource.DoGetSection(String).)
Public method DoRemove
Removes a ConfigurationSection from the configuration and saves the configuration source.
(Overrides FileBasedConfigurationSource.DoRemove(String).)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetSection
Retrieves the specified ConfigurationSection from the configuration file, and starts watching for its changes if not watching already.
(Inherited from FileBasedConfigurationSource.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method NotifyUpdatedSections
(Inherited from FileBasedConfigurationSource.)
Protected method OnSourceChanged
Raises the SourceChanged event.
(Inherited from FileBasedConfigurationSource.)
Protected method RefreshAndValidateSections
Refreshes the configuration sections from the main configuration file and determines which sections have suffered notifications and should be notified to registered handlers.
(Overrides FileBasedConfigurationSource.RefreshAndValidateSections(IDictionary<String, String>, IDictionary<String, String>, ICollection<String>, IDictionary<String, String>).)
Protected method RefreshExternalSections
Refreshes the configuration sections from an external configuration file.
(Overrides FileBasedConfigurationSource.RefreshExternalSections(IEnumerable<String>).)
Public method Remove
Removes a ConfigurationSection from the configuration and saves the configuration source.
(Inherited from FileBasedConfigurationSource.)
Public method RemoveSectionChangeHandler
Remove a handler to be called when changes to section
sectionName
are detected.
(Inherited from FileBasedConfigurationSource.)
Public method Save
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Adds or replaces configurationSection under name section in the configuration and saves the configuration file.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Show:
© 2015 Microsoft