Faking synchronous calls in Silverlight WP7

后端 未结 4 1907
感情败类
感情败类 2020-12-16 04:11

I\'m porting some code from the full .NET framework to the WP7 version and I\'m running into an issue with synchronous vs async calls.

 string response;
 str         


        
4条回答
  •  Happy的楠姐
    2020-12-16 04:31

    Check out Wintellect's Power Threading library, which allows you to perform asynchronous operations with a synchronous programming model.

    http://csharperimage.jeremylikness.com/2010/03/sequential-asynchronous-workflows-in.html

提交回复
热议问题