Click or drag to resize

LocalFileSystemWatcher Constructor

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

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

Parameters

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