PhysicalFilesWatcher Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A file watcher that watches a physical filesystem for changes.
Triggers events on IChangeToken when files are created, change, renamed, or deleted.
public ref class PhysicalFilesWatcher : IDisposable
public class PhysicalFilesWatcher : IDisposable
type PhysicalFilesWatcher = class
interface IDisposable
Public Class PhysicalFilesWatcher
Implements IDisposable
- Inheritance
-
PhysicalFilesWatcher
- Implements
Constructors
PhysicalFilesWatcher(String, FileSystemWatcher, Boolean) |
Initializes an instance of PhysicalFilesWatcher that watches files in |
PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters) |
Initializes an instance of PhysicalFilesWatcher that watches files in |
Methods
CreateFileChangeToken(String) |
Creates an instance of IChangeToken for all files and directories that match the Globbing patterns are relative to the root directory given in the constructor PhysicalFilesWatcher(String, FileSystemWatcher, Boolean). Globbing patterns are interpreted by Matcher. |
Dispose() |
Disposes the provider. Change tokens may not trigger after the provider is disposed. |
Dispose(Boolean) |
Disposes the provider. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: