Specifies the exception for an internal buffer overflow.
Object
Exception
SystemException
InternalBufferOverflowException
[Visual Basic] Public Class InternalBufferOverflowException Inherits SystemException [C#] public class InternalBufferOverflowException : SystemException [C++] public __gc class InternalBufferOverflowException : public SystemException [JScript] public class InternalBufferOverflowException extends SystemException
In a FileSystemWatcher, when you are notified of file changes, the system stores those changes in a buffer that the component creates and passes to the Application Programming Interfaces. If there are a lot of changes in a short amount of time, the buffer can easily overflow, resulting in an exception being thrown, which essentially loses all changes. Increasing the size of the buffer is expensive, so you want to keep the buffer as small as possible. To do this, use the ChangedFilter, IncludeSubdirectories, and Target properties so you can filter out your unwanted change notifications.
Namespace: System.IO
Assembly: system.io.dll
InternalBufferOverflowException Members | System.IO Namespace | ChangedFilter | FileSystemWatcher | IncludeSubdirectories | InternalBufferSize | Target