System.AggregateException: One or more errors occurred. (句柄无效。) ---> System.IO.IOException: 句柄无效。 at System.ConsolePal.WindowsConsoleStream.Write(ReadOnlySpan`1 buffer) at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder) at System.IO.StreamWriter.WriteLine(String value) at System.IO.TextWriter.SyncTextWriter.WriteLine(Object value) at System.Console.WriteLine(Object value) at JiaoyubaoApiMethod.common.GetResponseAsync(String url, Dictionary`2 Header, Int32 timeOut) at JiaoyubaoApiMethod.common.GetDataByApiAsync(String action, String key, String md5, Boolean update) at JiaoyubaoApiMethod.common.GetDataAsync(String action, String key) at JiaoyubaoApiMethod.common.ApiHelpBackClassAsync[T](String key, String action, Int32 timeOut) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at JiaoyubaoApiMethod.common.ApiHelpBackClass[T](String key, String action, Int32 timeOut) at jyb.zhk.EduUnionWeb.webNew.GetComProList(String comename, String classename, Int32 pid, Int32 pagesize, Int32 lab, Int32& maxpage) at jyb.zhk.EduUnionWeb.webNew.GetComProList(String comename, String classename, Int32 pid, Int32 pagesize, Int32& maxpage) at jyb.zhk.EduUnionWeb.webNew.GetComProList(String comename, String classename, Int32 pid, Int32 pagesize) at jyb.zhk.EduUnionWeb.webNew.GetProListNoCity(String str, Int32 page, Int32 pagesize) at jyb.zhk.EduUnionWeb.webNew.GetProList(String str, Int32 page, Int32 pagesize, Int32 ispage, Int32 order, Int32& maxpage, Int32& rec) at jyb.zhk.EduUnionWeb.webNew.GetProList(String str, Int32 page, Int32 pagesize, Int32 ispage, Int32 order) at jyb.zhk.EduUnionWeb.webNew.GetCompanyProVirtual(String cityname, String classname, String classename, String quparam, String sqparam, String classparam, Int32 pagesize, Boolean iskc, Boolean ispj, CustomComListVirtual customComItem) at jyb.zhk.EduUnionWeb.webNew.GetProlist(DataItem_100010 CityMes, DataItem_100022 ClassMes, List`1 ParamList, Int32 page, Int32 pagesize, Int32 ispage, Int32 order, String comtype, String word, Boolean iskc, Boolean ispj, Boolean isProMes, CustomComListVirtual customComItem) at jyb.zhk.EduUnionWeb.webNew.GetProlist(DataItem_100010 CityMes, DataItem_100022 ClassMes, List`1 ParamList, Int32 page, Int32 pagesize, Int32 ispage, Int32 order, String comtype, Boolean iskc, Boolean ispj, Boolean isProMes, CustomComListVirtual customComItem) at jyb.zhk.EduUnionWeb_sdnews_mobile.Controllers.ListController.Index(String urlParam, String cityename, Int32 pid, String type) at jyb.zhk.EduUnionWeb_sdnews_mobile.Controllers.ListController.ProListIndex() at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)