如何处理C#的HttpWebResponse的GetResponse中的超时异常
摘要:程序中,有时会遇到超时的异常,需要进行处理,用一般的try...catch(Exception ex)...会发现ex没有status属性,此时使用WebException捕获异常:
阅读全文
posted @ 2016-03-21 16:19
posted @ 2016-03-21 16:19
posted @ 2016-03-21 13:16
posted @ 2016-03-16 16:02
posted @ 2016-03-16 15:56
posted @ 2016-03-16 15:37
posted @ 2016-03-07 09:05