c# 4.0 - WCF Async method works on Windows 7 host, but throws signature Exception on XP machine -
my code (target framework 4.0, x86 architecture) works on several windows 7 machines (both client , server) throws invalid async begin method signature exception on windows xp (same .net framework version) specifying method requires iasyncresult result type , callback method.
actually, methods use task<generictype> return type , i'm wondering why fails on xp hosts.
example of service contract:
[operationcontract(asyncpattern = true)] task<getserverconfigurationresult> getserverconfigurationasync(string clientid); note: hope there's smarter solution refactoring.
Comments
Post a Comment