调用webservice超时问题的解决
c#做的webservice经常忘记扩大超时限制:
1、web.config: <system.web></system.web>里面增加:
2、扩大代理类的超时限制,默认是90秒 YourWebService yws = new YourWebService(); yws.Timeout = 1200000; //20分钟
3、IIS属性-网站 连接超时时间 1200秒
c#做的webservice经常忘记扩大超时限制:
1、web.config: <system.web></system.web>里面增加:
2、扩大代理类的超时限制,默认是90秒 YourWebService yws = new YourWebService(); yws.Timeout = 1200000; //20分钟
3、IIS属性-网站 连接超时时间 1200秒
暂无评论。
评论功能维护中,当前仅展示历史评论。