แชร์ผ่าน


PhysicalFilesWatcher Class

Definition

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

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Initializes an instance of PhysicalFilesWatcher that watches files in root. Wraps an instance of FileSystemWatcher.

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Initializes an instance of PhysicalFilesWatcher that watches files in root. Wraps an instance of FileSystemWatcher.

Methods

CreateFileChangeToken(String)

Creates an instance of IChangeToken for all files and directories that match the filter.

Dispose()

Disposes the provider. Change tokens may not trigger after the provider is disposed.

Dispose(Boolean)

Disposes the provider.

Applies to