积极答复者
wcf 自定义客户端代理 继承 服务接口A、ClientBase<A> 调用服务提示:方法 *** 在此代理中不受支持,如果未使用 OperationContractAttribute 标记方法或未使用 ServiceContractAttribute 标记接口类型,则会出现此情况。

问题
答案
-
你好,
如果你想使用自定义的客户端代理而不使用默认生成的代理,可以参考下面连接中的例子
http://stackoverflow.com/questions/8361646/create-wcf-client-without-auto-generated-proxy
http://www.dnrtv.com/default.aspx?showNum=122
希望有所帮助。
Haixia
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- 已标记为答案 Haixia_XieModerator 2013年6月28日 1:50
-
檢查interface是否有標記 [ServiceContract(...)] 、class是否有標記 [OperationContract]
- 已标记为答案 Haixia_XieModerator 2013年6月28日 1:50
全部回复
-
你好,
如果你想使用自定义的客户端代理而不使用默认生成的代理,可以参考下面连接中的例子
http://stackoverflow.com/questions/8361646/create-wcf-client-without-auto-generated-proxy
http://www.dnrtv.com/default.aspx?showNum=122
希望有所帮助。
Haixia
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- 已标记为答案 Haixia_XieModerator 2013年6月28日 1:50
-
檢查interface是否有標記 [ServiceContract(...)] 、class是否有標記 [OperationContract]
- 已标记为答案 Haixia_XieModerator 2013年6月28日 1:50