如果把

 

response.end放在try/catch里面,就会报错:

 

at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()

 

大概原因是当前线程要结束了,但是这个try/catch还在拖后腿。

相关文章:

  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
  • 2022-01-22
  • 2021-09-08
  • 2022-12-23
猜你喜欢
  • 2021-06-01
  • 2021-10-15
  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
相关资源
相似解决方案