HostFileChangeMonitor(IList<String>) コンストラクター

定義

HostFileChangeMonitor クラスの新しいインスタンスを初期化します。

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.HostFileChangeMonitor
Public Sub New (filePaths As IList(Of String))

パラメーター

filePaths
IList<String>

監視する 1 つ以上のディレクトリ パスまたはファイル パスを含むリスト。

例外

filePathsnullです。

filePaths には 0 個の項目が含まれています。

-又は-

filePathsリスト内のパスがnullまたは空の文字列です。

注釈

HostFileChangeMonitor コンストラクターの呼び出しでは、filePaths パラメーターに null 以外の値を指定する必要があります。 少なくとも、コンストラクターはパスに渡されるパスのコレクションを検証し、それらのパスの監視を初期化します。

Note

コンストラクターは、パス名の文字列検証のみを実行します。 パスを正規化したり、パスが存在することを検証したりすることはありません。

適用対象