eFileSharingViolation

http://forums.autodesk.com/t5/net/readdwgfile-efilesharingviolation/td-p/2076678

当语句为:dbInsert.ReadDwgFile(frmDwg, System.IO.FileShare.Read, true, null);时会弹出上面的错误“eFileSharingViolation”

当语句为:dbInsert.ReadDwgFile(frmDwg, System.IO.FileShare.ReadWrite, true, null);时则不会了。

原文地址:https://www.cnblogs.com/swtool/p/6185684.html