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.
Watches a physical file system for changes and 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
| Name | Description |
|---|---|
| PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters) |
Initializes a new instance of the PhysicalFilesWatcher class that watches files in |
| PhysicalFilesWatcher(String, FileSystemWatcher, Boolean) |
Initializes a new instance of the PhysicalFilesWatcher class that watches files in |
Methods
| Name | Description |
|---|---|
| CreateFileChangeToken(String) |
Creates an instance of IChangeToken for all files and directories that match the
|
| Dispose() |
Disposes the provider. Change tokens may not trigger after the provider is disposed. |
| Dispose(Boolean) |
Disposes the provider. |