質問

In VS 2013, I am setting up the WCF service. I am getting an error as " This operation is not supported in the WCF Test Client because it uses System.Threading.Tasks "

enter image description here

役に立ちましたか?

解決

If the synchronous methods are working then your service is working fine. The problem you are having is the fact that the WCF test client does not support methods that return a Task, you must either use the synchronous methods with the built in client or write your own client that uses the asynchronous methods to test your service..

There is nothing you can do to "fix" it to make the WCF test client work with asynchronous methods.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top