HostFileChangeMonitor Constructor (IList<String^>^)
.NET Framework (current version)
Initializes a new instance of the HostFileChangeMonitor class.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | filePaths is null. |
| ArgumentException | filePaths contains zero items. -or- A path in the filePaths list is null or an empty string. |
Calls to the HostFileChangeMonitor constructor must provide a non-null value for the filePaths parameter. At a minimum, the constructor validates the collection of paths that is passed into it and then initializes monitoring for those paths.
Note |
|---|
The constructor performs only string validation of the path name. It does not canonicalize paths or validate that the paths exist. |
.NET Framework
Available since 4.0
Available since 4.0
Show:
