KevDog KevDog - 1 year ago 74
C# Question

Can you Pass Func<T,bool> Through a WCF Service?

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.

Many thanks out there...

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download