PhysicalFilesWatcher Konstruktorer

Definition

Överlagringar

Name Description
PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Initierar en ny instans av PhysicalFilesWatcher klassen som bevakar filer i root.

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Initierar en ny instans av PhysicalFilesWatcher klassen som bevakar filer i root.

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Källa:
PhysicalFilesWatcher.cs
Källa:
PhysicalFilesWatcher.cs
Källa:
PhysicalFilesWatcher.cs
Källa:
PhysicalFilesWatcher.cs

Initierar en ny instans av PhysicalFilesWatcher klassen som bevakar filer i 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)

Parametrar

root
String

Rotkatalogen för bevakaren.

fileSystemWatcher
FileSystemWatcher

Den omslutna watcher som tittar på root.

pollForChanges
Boolean

true för att polleraren ska använda avsökning för att utlösa instanser av IChangeToken som skapats av CreateFileChangeToken(String), annars false.

Gäller för

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Källa:
PhysicalFilesWatcher.cs
Källa:
PhysicalFilesWatcher.cs
Källa:
PhysicalFilesWatcher.cs
Källa:
PhysicalFilesWatcher.cs

Initierar en ny instans av PhysicalFilesWatcher klassen som bevakar filer i 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)

Parametrar

root
String

Rotkatalogen för bevakaren.

fileSystemWatcher
FileSystemWatcher

Den omslutna watcher som tittar på root.

pollForChanges
Boolean

true för att polleraren ska använda avsökning för att utlösa instanser av IChangeToken som skapats av CreateFileChangeToken(String), annars false.

filters
ExclusionFilters

En bitvis kombination av uppräkningsvärdena som anger vilka filer eller kataloger som undantas. Meddelanden om ändringar av dessa genereras inte.

Gäller för