你可以通过Func键< T,布尔>通过WCF服务?你可以、布尔、Func、LT

2023-09-03 02:25:05 作者:此去前程你我都别回头

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 code防爆pression树序列化项目画廊。

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