FileSystemWatcher Class
The Windows operating system notifies your component of file changes in a buffer created by the FileSystemWatcher. If there are many changes in a short time, the buffer can overflow. This causes the component to lose track of changes in the directory, and it will only provide blanket notification. Increasing the size of the buffer with the InternalBufferSize property is expensive, as it comes from non-paged memory that cannot be swapped out to disk, so keep the buffer as small yet large enough to not miss any file change events. To avoid a buffer overflow, use the NotifyFilter and IncludeSubdirectories properties so you can filter out unwanted change notifications.
...
Note that a FileSystemWatcher does not raise an Error event when an event is missed or when the buffer size is exceeded, due to dependencies with the Windows operating system. To keep from missing events, follow these guidelines:
* Increasing the buffer size with the InternalBufferSize property can prevent missing file system change events.
* Avoid watching files with long file names. Consider renaming using shorter names.
* Keep your event handling code as short as possible.
Здравствуйте, Овощ, Вы писали:
О>FileSystemWatcher Class
О>О>The Windows operating system notifies your component of file changes in a buffer created by the FileSystemWatcher. If there are many changes in a short time, the buffer can overflow. This causes the component to lose track of changes in the directory, and it will only provide blanket notification. Increasing the size of the buffer with the InternalBufferSize property is expensive, as it comes from non-paged memory that cannot be swapped out to disk, so keep the buffer as small yet large enough to not miss any file change events. To avoid a buffer overflow, use the NotifyFilter and IncludeSubdirectories properties so you can filter out unwanted change notifications.
О>...
О>Note that a FileSystemWatcher does not raise an Error event when an event is missed or when the buffer size is exceeded, due to dependencies with the Windows operating system. To keep from missing events, follow these guidelines:
О>* Increasing the buffer size with the InternalBufferSize property can prevent missing file system change events.
О>* Avoid watching files with long file names. Consider renaming using shorter names.
О>* Keep your event handling code as short as possible.
спасибо, но, вторая проблема, с определением переноса файло из одного подкаталога в другой осталась