FileWatcher constructor
Initializes a new instance of the FileWatcher class.
public FileWatcher(string path, string filter)
| parameter | description |
|---|---|
| path | The directory path to watch. |
| filter | The file filter to watch for. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | One of the arguments is null. |
See Also
- class FileWatcher