Click or drag to resize

LocalFileSystemWatcher Constructor

Initializes a new instance of the LocalFileSystemWatcher class. Windows 10, version 1709 or higher is needed.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public LocalFileSystemWatcher(
	string directoryPath,
	LocalFileSystemWatcherSynthetizeOptions synthetizeOptions = LocalFileSystemWatcherSynthetizeOptions.All
)

Parameters

directoryPath
Type: SystemString
The directory path.
synthetizeOptions (Optional)
Type: callback.ShellBoost.Core.UtilitiesLocalFileSystemWatcherSynthetizeOptions
The synthetize options.
Exceptions
ExceptionCondition
ArgumentNullExceptiondirectoryPath is null
ArgumentExceptiondirectoryPath is not a rooted path.
See Also