|
SafeFileWatcher(String) Constructor
|
Initializes a new instance of the
SafeFileWatcher class, given the specified directory to monitor.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
Syntaxpublic SafeFileWatcher(
string path
)
Public Sub New (
path As String
)
public:
SafeFileWatcher(
String^ path
)
new :
path : string -> SafeFileWatcherGSF.IO.SafeFileWatcher = function(path);
View SourceParameters
- path String
- The directory to monitor, in standard or Universal Naming Convention (UNC) notation.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | The path parameter is null. |
| ArgumentException |
The path parameter is an empty string (""). -or-
The path specified through the path parameter does not exist.
|
See Also