PhysicalFilesWatcher コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| PhysicalFilesWatcher(String, FileSystemWatcher, Boolean) |
|
| PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters) |
|
PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)
root内のファイルを監視するPhysicalFilesWatcher クラスの新しいインスタンスを初期化します。
FileSystemWatcherのインスタンスをラップします。
public:
PhysicalFilesWatcher(System::String ^ root, System::IO::FileSystemWatcher ^ fileSystemWatcher, bool pollForChanges);
public PhysicalFilesWatcher(string root, System.IO.FileSystemWatcher? fileSystemWatcher, bool pollForChanges);
new Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher : string * System.IO.FileSystemWatcher * bool -> Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher
Public Sub New (root As String, fileSystemWatcher As FileSystemWatcher, pollForChanges As Boolean)
パラメーター
- root
- String
ウォッチャーのルート ディレクトリ。
- fileSystemWatcher
- FileSystemWatcher
rootを見ているラップされたウォッチャー。
- pollForChanges
- Boolean
trueポーリングを使用してCreateFileChangeToken(String)によって作成されたIChangeTokenのインスタンスをトリガーする場合はポーリング。それ以外の場合はfalse。
適用対象
PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)
root内のファイルを監視するPhysicalFilesWatcher クラスの新しいインスタンスを初期化します。
FileSystemWatcherのインスタンスをラップします。
public:
PhysicalFilesWatcher(System::String ^ root, System::IO::FileSystemWatcher ^ fileSystemWatcher, bool pollForChanges, Microsoft::Extensions::FileProviders::Physical::ExclusionFilters filters);
public PhysicalFilesWatcher(string root, System.IO.FileSystemWatcher? fileSystemWatcher, bool pollForChanges, Microsoft.Extensions.FileProviders.Physical.ExclusionFilters filters);
new Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher : string * System.IO.FileSystemWatcher * bool * Microsoft.Extensions.FileProviders.Physical.ExclusionFilters -> Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher
Public Sub New (root As String, fileSystemWatcher As FileSystemWatcher, pollForChanges As Boolean, filters As ExclusionFilters)
パラメーター
- root
- String
ウォッチャーのルート ディレクトリ。
- fileSystemWatcher
- FileSystemWatcher
rootを見ているラップされたウォッチャー。
- pollForChanges
- Boolean
trueポーリングを使用してCreateFileChangeToken(String)によって作成されたIChangeTokenのインスタンスをトリガーする場合はポーリング。それ以外の場合はfalse。
- filters
- ExclusionFilters
除外するファイルまたはディレクトリを指定する列挙値のビットごとの組み合わせ。 これらに対する変更の通知は発生しません。