博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Response.End方法导致线程中断

Posted on 2009-09-03 14:46  懒人ABC  阅读(299)  评论(2编辑  收藏  举报
ThreadAbortException Occurs If You Use Response.End, Response.Redirect, or Server.Transfer
微软的解决方案是:
HttpContext.Current.ApplicationInstance.CompleteRequest 替代Response.End就可以了。

其他的请参照一下官方说明。
http://support.microsoft.com/default.aspx?scid=kb;EN-US;312629