你能通过 Func<T,bool>通过 WCF 服务? [英] Can you Pass Func<T,bool> Through a WCF Service?

查看:25
本文介绍了你能通过 Func<T,bool>通过 WCF 服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Func 是一个可序列化的类,但是当我尝试将它作为参数传递给服务时.有人告诉我它不是已知类型".我已经尝试过这里的解决方案无济于事.

Func is a serializable class, but yet when I try to pass it as a parameter through a service. I'm told it "isn't a known type". I've tried the solutions here to no avail.

非常感谢...

推荐答案

正在开展工作以启用它.查看 MSDN 代码库上的表达式树序列化项目.

There's work happening to enable it. Check out the Expression Tree Serialization project on the MSDN Code Gallery.

这篇关于你能通过 Func<T,bool>通过 WCF 服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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