2015年VS智能感知:抛出的异常不中预览 [英] VS 2015 IntelliSense: Exceptions Thrown not Previewed
问题描述
我刚刚升级到VS 2015年企业版和正在使用C#的工作。
I just upgraded to VS 2015 Enterprise Edition and am working with C#.
在VS 2013我能够XML异常标记添加到我的方法,并试图在使用该方法我会看到什么异常可能会被抛出的预览。
In VS 2013 I was able to add XML Exception tags to my methods and when trying to use that method I would see a preview of what Exceptions could be thrown.
然而,在VS 2015,当我将鼠标悬停在我的方法调用,或尝试拨打电话我拿不出什么异常,可以抛出预览。
However, in VS 2015 when I hover over my method call, or try to make the call I get no preview of what Exceptions can be thrown.
我怎样才能让VS 2015显示什么异常可以通过方法抛出?
How can I make VS 2015 show what exceptions can be thrown by methods?
下面是我的测试类。
感谢您。
VS 2013
2015年VS
< A HREF =http://i.stack.imgur.com/JQfnd.png>
推荐答案
此问题已在Visual Studio 2015年更新1得到了解决。
This issue has been resolved in Visual Studio 2015 Update 1.
您可以下载它的这里。
这篇关于2015年VS智能感知:抛出的异常不中预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!