.NET 异步方法async await



     异步方法同步调用法

    

  string jsonstr = hc.GetAsync(url).Result.Content.ReadAsStringAsync().Result;
 

    直接访问result 

     

猜你喜欢

转载自blog.csdn.net/aojiancc2/article/details/78522645
今日推荐