Monday, November 25, 2013

Return All Calls in Sequence After Async

Hi,


Change your code like below:



public async ProcessedResponse Query()
{
await QueryAsync();
//Task<ProcessedResponse> task = QueryAsync();
ProcessedResponse processedResponse = task.Result;
}

Best Wishes!




We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.



No comments:

Post a Comment