跳转到主内容

Microsoft .NET FileSystemWatcher 报告 System.IO.internalBufferOverflowException

Views:
25
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用于

使用 SMB 通知跟踪更改的应用程序。

示例:

使用 FileSystemWatcher 类的应用程序 Microsoft .NET Framework FileSystemWatcher 类 Win32 ReadDirectoryChangeWESAPI (例如: seclore )。 
集群模式 Data ONTAP —监控共享上启用的“分归认证”属性

问题

使用 " 更改通知 " 跟踪 CIFS 共享中的更改(例如将文件添加 / 删除 / 重命名到目录)的应用程序不会收到有关所发生更改的所有通知。 

使用 FileSystemWatcher 类的应用程序会报告以下错误:System.IO.InternalBufferOverflowException: Too many changes at once in directory <path>

使用 Win32 ReadDirectoryChangeWas API 的应用程序可能无法正常工作。

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device