PRB: ThreadAbortException Response.End, Response.Redirect, ?? Server.Transfer ????? ???? ??? ?? ??????? ???? ??

???? ?????? ???? ??????
???? ID: 312629 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?????

??? ?? Response.End, Response.Redirect, ?? Server.Transfer ?????? ?? ????? ???? ???, ?? ThreadAbortException ????? ??????? ???? ??? ?? ?? ????? ?????? ?????? catch ??? ?? ????? ?? ???? ????

????

Response.End ???? ????? ???????? ?????? ???? ?? ?? Application_EndRequest ???? ???? ???????? ????????? ??? ???????? shifts. ???????? Response.End ??? ?? ?????? ????????? ???? ???? ?????

??????? ?????? ??? ?? ????? ???? ??? Response.EndResponse.Redirect ?? Server.Transfer ??????? ??? ?? ?????? ??? ???

????????

?? ?????? ?? ?? ???? ?? ???, ????? ??????? ??? ?? ???? ?? ?? ????? ????:
  • ?? ??? Response.End, ??? HttpContext.Current.ApplicationInstance.CompleteRequest ?? ???? ?? ???? Response.End ??? ???????? ?? ?????? ???? ?? ??? Application_EndRequest ?????
  • ?? ??? Response.Redirect, ?? overload ?? ????? ???? Response.Redirect (???????? url, ???, endResponse) ??????? ???? false ?? ??? endResponse ???????? ?????? ??? ???? ????? Response.End. ?????? ?? ???:
      Response.Redirect ("nextpage.aspx", false);
    						
    ??? ?? ?? ?????? ?? ????? ???? ???, ?? ??? ?? ???????? Response.Redirect ???????? ???
  • ?? ??? Server.Transfer, ?? ????? ???? Server.Execute ???? ???? ?????

??????

?? ??????? ??????? ?? ?????? ???

???

???? ID: 312629 - ????? ???????: 30 ????? 2012 - ??????: 5.0
???? ???? ???? ??:
  • Microsoft ASP.NET 4.5
  • Microsoft ASP.NET 4.0
  • Microsoft ASP.NET 3.5
  • Microsoft ASP.NET 2.0
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
??????: 
kbexcepthandling kbprb kbmt KB312629 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:312629

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com