专题文章
时长:00:00更新时间:2020-11-27 22:43:31
asp.net 在global中拦截404错误的实现方法: 代码如下:void Application_Error(object sender, EventArgs e) { if(Context != null) { HttpContext ctx = HttpContext.Current; Exception ex = ctx.Server.GetLastError(); HttpException ev
查看详情