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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -