Why is my asp.net application throwing ThreadAbortException?

前端 未结 5 882
天命终不由人
天命终不由人 2020-12-18 18:49

This is a self-explanatory question:

Why does this thing bubble into my try catch\'s even when nothing is wrong?

Why is it showing up in my log, hundreds of

5条回答
  •  天命终不由人
    2020-12-18 19:17

    The most common reason for a ThreadAbortException is calling Response.End, Response.Redirect, or Server.Transfer. Microsoft has published some suggested functions that should be used in stead of those functions.

提交回复
热议问题