Język

PhysicalFilesWatcher Konstruktory

Definicja

Przeciążenia

Nazwa Opis
PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Inicjuje PhysicalFilesWatcher nowe wystąpienie klasy, która obserwuje pliki w pliku root.

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Inicjuje PhysicalFilesWatcher nowe wystąpienie klasy, która obserwuje pliki w pliku root.

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Źródło:
PhysicalFilesWatcher.cs
Źródło:
PhysicalFilesWatcher.cs
Źródło:
PhysicalFilesWatcher.cs
Źródło:
PhysicalFilesWatcher.cs

Inicjuje PhysicalFilesWatcher nowe wystąpienie klasy, która obserwuje pliki w pliku 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

Katalog główny obserwatora.

fileSystemWatcher
FileSystemWatcher

Otokowany obserwator oglądający root.

pollForChanges
Boolean

true aby poller używać sondowania do wyzwalania wystąpień utworzonych IChangeToken przez CreateFileChangeToken(String); w przeciwnym razie false.

Dotyczy

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Źródło:
PhysicalFilesWatcher.cs
Źródło:
PhysicalFilesWatcher.cs
Źródło:
PhysicalFilesWatcher.cs
Źródło:
PhysicalFilesWatcher.cs

Inicjuje PhysicalFilesWatcher nowe wystąpienie klasy, która obserwuje pliki w pliku 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

Katalog główny obserwatora.

fileSystemWatcher
FileSystemWatcher

Otokowany obserwator, który obserwuje root.

pollForChanges
Boolean

true aby poller używać sondowania do wyzwalania wystąpień utworzonych IChangeToken przez CreateFileChangeToken(String); w przeciwnym razie false.

filters
ExclusionFilters

Bitowa kombinacja wartości wyliczenia, która określa, które pliki lub katalogi są wykluczone. Powiadomienia o zmianach w tych nie są zgłaszane.

Dotyczy