FileSystemWatcher.Finalize Method

Definition

Releases the resources held by the current instance.

!FileSystemWatcher ()
~FileSystemWatcher ();
override this.Finalize : unit -> unit
Finalize ()

Remarks

Note

Application code does not call this method; it is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled. For more information, see GC.SuppressFinalize and Finalize(). This method overrides Finalize().

Applies to