Mono Class Library: System.IO.FileSystemWatcher Overview | Members

System.IO.FileSystemWatcher.Dispose Method

Releases the resources for the watcher.

protected override void Dispose (bool disposing)

Parameters

disposing
Whether this is being called from an IDisposable.Dispose methods.

Remarks

This will release the resources associated with the watcher and will stop watching for changes. No more events will be generated.

Requirements

Namespace: System.IO
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0