Method | Description | |
---|---|---|
Dispose ( ) : void |
Releases all resources used by this instance.
|
|
FileSystemWatcher ( ) : System |
Initializes a new instance of the FileSystemWatcher class.
|
|
FileSystemWatcher ( string path ) : System |
Initializes a new instance of the FileSystemWatcher class.
|
|
FileSystemWatcher ( string path, string filter ) : System |
Initializes a new instance of the FileSystemWatcher class.
|
Method | Description | |
---|---|---|
DequeueEvents ( ) : void |
Dequeues all of the events that have elapsed the current Threshold.
|
|
Dispose ( bool disposing ) : void |
Releases all resources used by this instance.
|
|
EnqueueEvent ( string path, FileSystemEventType eventType, |
Enqueues and possibly throttles an event for raising.
|
|
Initialize ( ) : void |
Performs initialization.
|
|
InnerWatcherChanged ( object sender, |
Raises the innerWatcher's Changed event.
|
|
InnerWatcherCreated ( object sender, |
Raises the innerWatcher's Created event.
|
|
InnerWatcherDeleted ( object sender, |
Raises the innerWatcher's Deleted event.
|
|
InnerWatcherDisposed ( object sender, |
Raises the innerWatcher's Disposed event.
|
|
InnerWatcherError ( object sender, |
Raises the innerWatcher's Error event.
|
|
InnerWatcherRenamed ( object sender, |
Raises the innerWatcher's Renamed event.
|
|
RaiseEvent ( PathEventItem item ) : void |
Raises a throttled event to any listeners of this instance.
|
public FileSystemWatcher ( string path ) : System | ||
path | string | The directory to monitor, in standard or Universal Naming Convention (UNC) notation. |
return | System |
public FileSystemWatcher ( string path, string filter ) : System | ||
path | string | The directory to monitor, in standard or Universal Naming Convention (UNC) notation. |
filter | string | The type of files to watch. For example, "*.txt" watches for changes to all text files. |
return | System |