asp.net中的异常 [英] exceptions in asp.net
本文介绍了asp.net中的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
哪些例外是没有互联网连接asp.net??explain与示例
which exceptions is for no internet connection asp.net??explain with example
推荐答案
不,这不会起作用...记住例外情况都是C#/ VB事件,所以它们都是在服务器上引发的。
如果你的客户没有网络连接,他就无法访问你的网站:所以没有例外将生成。
如果您的服务器没有互联网,那么您的网站将永远不会被访问,因此不会生成异常。
无论哪种方式:没有互联网,也没有例外!
No, that isn't going to work...remember that exceptions are all C# / VB events, so they are raised at the server.
If your client has no internet connection, he can't access your site: so no exception will be generated.
If you server has no internet, then your site will never be accessed, so no exception will be generated.
Either way: no internet, no exception!
这篇关于asp.net中的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文