SafeFileWatcher(String, String) Constructor
Initializes a new instance of the
SafeFileWatcher class, given the specified directory and type of files to monitor.
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.166 -- Release Build+d3cb24a90fe44346300dfbb17444d7b350f42d79
Gemstone.IO.SafeFileWatcher = function(path, filter);
Parameters
- 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.
| ArgumentNullException |
The path parameter is null. -or-
The filter parameter is null.
|
| ArgumentException |
The path parameter is an empty string (""). -or-
The path specified through the path parameter does not exist.
|