Type 'System.Threading.Tasks.Task`1[System.String]' cannot be serialized

后端 未结 2 1101
情深已故
情深已故 2021-01-07 14:14

As per the following article, I have defined my service contract as

http://blogs.msdn.com/b/endpoint/archive/2010/11/13/simplified-asynchronous-programming-model-in

2条回答
  •  感情败类
    2021-01-07 15:03

    The support for Task-based asynchronous operations is only available in the version 4.5 of the .NET Framework Unless you're using the developer preview which was made available in mid-September, this won't work.

提交回复
热议问题