次の方法で共有


PhysicalFilesWatcher コンストラクター

定義

オーバーロード

名前 説明
PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

root内のファイルを監視するPhysicalFilesWatcher クラスの新しいインスタンスを初期化します。 FileSystemWatcherのインスタンスをラップします。

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

root内のファイルを監視するPhysicalFilesWatcher クラスの新しいインスタンスを初期化します。 FileSystemWatcherのインスタンスをラップします。

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

ソース:
PhysicalFilesWatcher.cs
ソース:
PhysicalFilesWatcher.cs
ソース:
PhysicalFilesWatcher.cs
ソース:
PhysicalFilesWatcher.cs

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)

ソース:
PhysicalFilesWatcher.cs
ソース:
PhysicalFilesWatcher.cs
ソース:
PhysicalFilesWatcher.cs
ソース:
PhysicalFilesWatcher.cs

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

除外するファイルまたはディレクトリを指定する列挙値のビットごとの組み合わせ。 これらに対する変更の通知は発生しません。

適用対象