【发布时间】:2009-10-19 21:52:34
【问题描述】:
在以下情况下会发生什么?在 response.redirect 之后它会抛出工作吗?
或者我是否需要在 main 方法的 catch 块中使用 Response.Redirect,它会抛出异常调用堆栈......
try
{
//code
}
catch(Exception ex)
{
Response.Redirect("Error.aspx");
throw;
}
【问题讨论】:
-
你为什么不试试呢?不过很有趣的问题。