Share via


ConfigurationChangeWatcher 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 ConfigurationChangeWatcher type exposes the following members.

Constructors

  Name Description
Public method ConfigurationChangeWatcher

Initialize a new ConfigurationChangeWatcher class

Methods

  Name Description
Protected method BuildEventData
Builds the change event data, in a suitable way for the specific watcher implementation
Protected method BuildThreadName
Returns the string that should be assigned to the thread used by the watcher
Public method Dispose

Releases the unmanaged resources used by the ConfigurationChangeFileWatcher and optionally releases the managed resources.

Protected method Disposing

Releases the unmanaged resources used by the ConfigurationChangeFileWatcher and optionally releases the managed resources.

Public method Equals (Inherited from Object.)
Protected method Finalize

Allows an ConfigurationChangeFileWatcher to attempt to free resources and perform other cleanup operations before the ConfigurationChangeFileWatcher is reclaimed by garbage collection.

(Overrides Object.Finalize().)
Protected method GetCurrentLastWriteTime

Returns the DateTime of the last change of the information watched

Protected method GetEventSourceName
Returns the source name to use when logging events
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnConfigurationChanged

Raises the ConfigurationChanged event.

Public method StartWatching

Starts watching the configuration file.

Public method StopWatching

Stops watching the configuration file.

Public method ToString (Inherited from Object.)

Properties

  Name Description
Public property SectionName

Gets the name of the configuration section being watched.

Events

  Name Description
Public event ConfigurationChanged
Event raised when the underlying persistence mechanism for configuration notices that the persistent representation of configuration information has changed.

See Also

ConfigurationChangeWatcher Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Storage 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.