[英]What kind of exception is 'Connection Timed Out' - ASP.NET
我正在与Web服务通信的asp.net应用程序上工作。 但是,最近经常出现服务中断的情况。 我不想抛出一个通用异常,而是一个非常具体的异常。 处理“连接超时”的异常名称是什么? 谢谢!
正确的方法是TimeoutException 。 默认消息是The operation has timed-out
The operation has timed-out
来自MSDN:
为进程或操作分配的时间到期时引发的异常。
[英]Timed out Issue with Asp.net webservice
[英]The wait operation timed out ASP.NET
[英]ASP.net login timed out in salesforce
[英]HttpException (0x80004005): Request timed out ASP.Net
[英]Asp.net Crawler Webresponse Operation Timed out
[英]The wait operation timed out in asp.net mvc 4
[英]Asp.net web form “The wait operation timed out”
[英]ASP.NET C# The Wait Operation Timed Out
[英]ASP.NET “Sessions Timed Out” Counter (perfmon.exe)
[英]Getting Timed Out from ASP.Net Webservice
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.