【发布时间】:2023-03-19 21:29:01
【问题描述】:
HttpResponseMessage response =
client.GetAsync("api/MOB_Vw_UsersAPI/GetMOB_Vw_Users?Uname=" +
uname + "&Pass=" + pass).Result;
当我在 Windows Phone 模拟器上运行这部分代码时,一切顺利并且运行良好。但是,当我在 Android 模拟器上运行它时,它给了我这个奇怪的错误:
System.AggregateException 发生一个或多个错误。
【问题讨论】:
-
一个 AggregateException 是一组异常。查看 InnerException 以获得更多详细信息。
标签: xamarin.forms httpclient aggregateexception httpresponsemessage