VS 2015智能感知:未预览的异常抛出 [英] VS 2015 IntelliSense: Exceptions Thrown not Previewed

查看:176
本文介绍了VS 2015智能感知:未预览的异常抛出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在VS 2013中,我可以在我的方法中添加XML Exception标签,当尝试使用使用该方法我会看到可以抛出什么异常的预览。



然而,在VS 2015中,当我将鼠标悬停在我的方法调用上,或尝试拨打电话没有预览什么异常可以抛出。



如何使VS 2015显示方法可以抛出什么异常?



以下是我的考试类。



谢谢。



VS 2013





VS 2015



解决方案

ue已在Visual Studio 2015 Update 1中得到解决。



您可以下载它 here


I just upgraded to VS 2015 Enterprise Edition and am working with C#.

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.

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.

How can I make VS 2015 show what exceptions can be thrown by methods?

Below is my test class.

Thank you.

VS 2013

VS 2015

解决方案

This issue has been resolved in Visual Studio 2015 Update 1.

You can download it here.

这篇关于VS 2015智能感知:未预览的异常抛出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆