阅读背景:

使用WCF的WebGet属性时如何捕获HTTP错误?

来源:互联网 

I'm using the [WebGet] attribute to query a REST API on a web server. Every so often (because the API is still under development) I get back an HTML document in the form of an HTTP/500 error instead of the XML I want.I'm using the [WebGet] attribute to query a RES




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: