Exception:文件“C:\Users\Administrator\Dropbox\My PC (User-2021MSOKSQ)\Documents\Quicker\Lain\SM-Chrome\test.txt”正由另一进程使用,因此该进程无法访问此文件。

报错信息

IOException
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   在 DynamicClass.MyFileSystemWather.WriteFile(String path, String msg)
   在 DynamicClass.MyFileSystemWather.fsWather_Deleted(Object sender, FileSystemEventArgs e)
   在 System.IO.FileSystemWatcher.OnDeleted(FileSystemEventArgs e)
   在 System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
   在 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) 

解决方法

暂无解决方案。

相关信息
0 查看
2022-01-09 00:40
Quicker版本
版本 反馈次数