我试过这个,但没有区别.
SilverSearchSoapClIEnt clIEnt = new SilverSearchSoapClIEnt(); clIEnt.Endpoint.Address = new EndpointAddress(App.ServiceEndpointUrl); clIEnt.Endpoint.Binding.OpenTimeout = new TimeSpan(0,1,0); clIEnt.Endpoint.Binding.SendTimeout = new TimeSpan(0,0); clIEnt.Endpoint.Binding.ReceiveTimeout = new TimeSpan(0,0); return clIEnt;解决方法
clIEnt.InnerChannel.OperationTimeout = new TimeSpan(0,0);总结
以上是内存溢出为你收集整理的如何在Silverlight 2.0中延长Web服务的超时?全部内容,希望文章能够帮你解决如何在Silverlight 2.0中延长Web服务的超时?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)