-
1 votesanswersviews
无法在异步服务调用中捕获CommunicationException
我有一个WCF服务,我的客户端是一个Silverlight应用程序 . 当服务中断(网络错误等)时,我在客户端代理上得到此异常: CommunicationException:通信对象System.ServiceModel.Channels.ClientFramingDuplexSessionChannel不能用于通信,因为它处于Faulted状态 . 准确地说,在下面的代码的第5行: pub... -
2 votesanswersviews
Dynamics CRM导致CommunicationException
我正在使用MS Dynamics CRM API从中获取数据(超过5000条记录) . 我正在使用基于XML的查询来获取数据 EntityCollection resultSet = _orgServiceProxy.RetrieveMultiple(new FetchExpression(query)); 有时候它工作,大多数时候它会抛出异常,从日志中,我得到这个长期的异常 . 接收到htt...