Jazyk

PhysicalFilesWatcher Konstruktory

Definice

Přetížení

Name Description
PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Inicializuje novou instanci PhysicalFilesWatcher třídy, která sleduje soubory v root.

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Inicializuje novou instanci PhysicalFilesWatcher třídy, která sleduje soubory v root.

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs

Inicializuje novou instanci PhysicalFilesWatcher třídy, která sleduje soubory v root.

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)

Parametry

root
String

Kořenový adresář pro sledovací proces.

fileSystemWatcher
FileSystemWatcher

Zabalený sledovací proces, který sleduje root.

pollForChanges
Boolean

true aby poller použil dotazování k aktivaci instancí vytvořených IChangeToken uživatelem CreateFileChangeToken(String); v opačném případě false.

Platí pro

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs

Inicializuje novou instanci PhysicalFilesWatcher třídy, která sleduje soubory v root.

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)

Parametry

root
String

Kořenový adresář pro sledovací proces.

fileSystemWatcher
FileSystemWatcher

Zabalený sledovací proces, který sleduje root.

pollForChanges
Boolean

true aby poller použil dotazování k aktivaci instancí vytvořených IChangeToken uživatelem CreateFileChangeToken(String); v opačném případě false.

filters
ExclusionFilters

Bitová kombinace hodnot výčtu, která určuje, které soubory nebo adresáře jsou vyloučeny. Oznámení o změnách těchto změn nejsou vyvolána.

Platí pro