PhysicalFilesWatcher Konstruktory

Definicja

Przeciążenia

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Inicjuje wystąpienie, które PhysicalFilesWatcher obserwuje pliki w programie root. Opakowuje wystąpienie klasy FileSystemWatcher.

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Inicjuje wystąpienie, które PhysicalFilesWatcher obserwuje pliki w programie root. Opakowuje wystąpienie klasy FileSystemWatcher.

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 wystąpienie, które PhysicalFilesWatcher obserwuje pliki w programie root. Opakowuje wystąpienie klasy 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)

Parametry

root
String

Katalog główny obserwatora.

fileSystemWatcher
FileSystemWatcher

Otokowany obserwator oglądający root.

pollForChanges
Boolean

true gdy obserwator powinien używać sondowania do wyzwalania wystąpień utworzonych IChangeToken przez CreateFileChangeToken(String)usługę .

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 wystąpienie, które PhysicalFilesWatcher obserwuje pliki w programie root. Opakowuje wystąpienie klasy 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)

Parametry

root
String

Katalog główny obserwatora.

fileSystemWatcher
FileSystemWatcher

Otokowany obserwator oglądający root.

pollForChanges
Boolean

true gdy obserwator powinien używać sondowania do wyzwalania wystąpień utworzonych IChangeToken przez CreateFileChangeToken(String)usługę .

filters
ExclusionFilters

Określa, które pliki lub katalogi są wykluczone. Powiadomienia o zmianach nie są zgłaszane do tych elementów.

Dotyczy