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.GetResponse(String url, Dictionary`2 keys, Int32 timeOut) at jyb.zhk.EduUnionWeb.webNew.Get_Special_Detaile(String txt, String type) in D:\JiaoYuBao\DotNetCore\联盟项目.net6\联盟项目\jyb.zhk.EduUnionWeb\webNew.cs:line 3157 at jyb.zhk.EduUnionWeb_sdnews_mobile.Controllers.OtherController.specail() in D:\JiaoYuBao\DotNetCore\联盟项目.net6\联盟项目\jyb.zhk.EduUnionWeb_sdnews_mobile\Controllers\OtherController.cs:line 218 at lambda_method977(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- 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.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)