Servicereference正在使用旧参数生成代理 [英] Servicereference is generating proxy with old arguments

查看:57
本文介绍了Servicereference正在使用旧参数生成代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我修改了一个现有的OperationContract,有7个参数来自6个参数,我看过Service.cs文件和IService.cs文件两者都有正确的参数,但是当我在我的UI项目中使用ServiceReference时,服务引用生成的代理类只包含6个参数,我不明白我在做什么错,我第一次遇到这种行为,任何人都可以请帮我解决这个问题。



先谢谢你的朋友。



我有什么试过:



谷歌搜索和尝试,修改和测试

解决方案

这是问题关闭并重新打开解决方案后修复,然后清理解决方案,然后重新构建解决方案,然后在删除服务引用后添加服务引用。所以这是我自己解决的。感谢。

Hi,

I have modified an existing OperationContract to have 7 arguments from having 6 arguments, I have seen both the Service.cs file and IService.cs file both are having correct arguments, but when I go and ServiceReference in my UI project, the Service Reference is generating proxy class that contains only 6 arguments, I am not understanding what mistake am I doing, I am experiencing this behavior first time, can anybody please help me in this regards.

Thanks in advance friends.

What I have tried:

googling searching and trying and modifying and testing

解决方案

This is problem is fixed after closing and reopening the Solution then clean the solution then rebuilding the solution then adding the service reference fresh after deleting the Service Reference. So this is resolved by myself. Thanks.


这篇关于Servicereference正在使用旧参数生成代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆