HostFileChangeMonitor(IList<String>) Constructor   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the HostFileChangeMonitor class.
public:
 HostFileChangeMonitor(System::Collections::Generic::IList<System::String ^> ^ filePaths);public HostFileChangeMonitor(System.Collections.Generic.IList<string> filePaths);new System.Runtime.Caching.HostFileChangeMonitor : System.Collections.Generic.IList<string> -> System.Runtime.Caching.HostFileChangeMonitorPublic Sub New (filePaths As IList(Of String))Parameters
Exceptions
filePaths is null.
filePaths contains zero items.
-or-
A path in the filePaths list is null or an empty string.
Remarks
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.