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);
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

ウォッチャーがポーリングを使用して、CreateFileChangeToken(String) によって作成された IChangeToken のインスタンスをトリガーする必要がある場合は true

適用対象

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);
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

ウォッチャーがポーリングを使用して、CreateFileChangeToken(String) によって作成された IChangeToken のインスタンスをトリガーする必要がある場合は true

filters
ExclusionFilters

除外するファイルまたはディレクトリを指定します。 加えられた変更に関する通知は、これらに対して発生しません。

適用対象