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.Get_UnionClass(String cityename) 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)