标签: sharepoint dll exception-handling reference web-parts
我知道你可以在try / catch块中包含有问题的代码,以防止错误取出你的webpart。但是你可以为缺少的引用/ dll做些什么呢?有没有在它们炸毁你的SharePoint页面之前捕获这些错误?
答案 0 :(得分:0)
是的,赶上FileNotFoundException。
错误的文字将是无法加载文件或程序集。