When an ASP.NET System.Web.HttpResponse.End() is called, the current thread is aborted?

前端 未结 5 502
你的背包
你的背包 2020-12-31 03:56

when a System.Web.HttpResponse.End() is called a System.Thread.Abort is being fired, which i\'m guessing is (or fires) an exception? I\'ve got some logging and this is being

5条回答
  •  长情又很酷
    2020-12-31 04:41

    Yes, this is indeed by design. Microsoft has even documented it. How else would you stop the rest of your program from execution?

提交回复
热议问题