如何在C#中使用反射调用WCF服务方法 [英] How to call WCF service method using refelection in C#
本文介绍了如何在C#中使用反射调用WCF服务方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谁能告诉我如何使用C#中的Reflection调用WCF服务方法.
我不应该在客户端添加WebReference或wcf服务Dll.
谢谢与问候,
Ramana
Hi,
Can anyone tell me how to call a WCF service method by using Reflection in C#.
I should not add WebReference or wcf service Dll at client side.
Thanks & Regards,
Ramana
推荐答案
经过快速搜索后,我发现了以下几个示例:
Hi,
Here is a couple of samples that I found, after doing a quick search:
- Sample 1
这篇关于如何在C#中使用反射调用WCF服务方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文