After the FileSystemWatcher.Error
event was raised, I do not know what to do next. An exception may be [relatively] secondary, for example
too many changes at once in the directory
which does not affect the process of viewing the observer, but can also be a big problem, such as a deleted directory being watched, in which case the observer no longer works.
My question is how best to handle the Error event?
source share