ConfigurationChangeFileWatcher 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 ConfigurationChangeFileWatcher type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConfigurationChangeFileWatcher | Initialize a new ConfigurationChangeFileWatcher class with the path to the configuration file and the name of the section |
Methods
Name | Description | |
---|---|---|
BuildEventData |
Builds the change event data, including the full path of the watched file
(Overrides ConfigurationChangeWatcher.BuildEventData().) |
|
BuildThreadName |
Returns the string that should be assigned to the thread used by the watcher
(Overrides ConfigurationChangeWatcher.BuildThreadName().) |
|
Dispose | Releases the unmanaged resources used by the ConfigurationChangeFileWatcher and optionally releases the managed resources. |
|
Disposing | Releases the unmanaged resources used by the ConfigurationChangeFileWatcher and optionally releases the managed resources. |
|
Equals | (Inherited from Object.) | |
Finalize | Allows an ConfigurationChangeFileWatcher to attempt to free resources and perform other cleanup operations before the ConfigurationChangeFileWatcher is reclaimed by garbage collection. |
|
GetCurrentLastWriteTime | Returns the DateTime of the last change of the information watched The information is retrieved using the watched file modification timestamp |
|
GetEventSourceName |
Returns the source name to use when logging events
(Overrides ConfigurationChangeWatcher.GetEventSourceName().) |
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnConfigurationChanged | Raises the ConfigurationChanged event. |
|
StartWatching | Starts watching the configuration file. |
|
StopWatching | Stops watching the configuration file. |
|
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
SectionName | Gets the name of the configuration section being watched. |
Events
Name | Description | |
---|---|---|
ConfigurationChanged |
Event raised when the underlying persistence mechanism for configuration notices that the persistent representation of configuration information has changed.
(Inherited from ConfigurationChangeWatcher.) |
See Also
ConfigurationChangeFileWatcher 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. |