다음을 통해 공유


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.

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