摘要: Global.aspx.cspublicstaticvoidRegisterGlobalFilters(GlobalFilterCollectionfilters){filters.Add(newCustomHandlerErrorAttribute());}CustomHandlerErrorAttribute.cspublicclassCustomHandlerErrorAttribute:HandleErrorAttribute{publicoverridevoidOnException(ExceptionContextfilterContext){if(filterContext.Ex 阅读全文
posted @ 2011-10-08 11:42 君之蘭 阅读(1497) 评论(1) 推荐(1) 编辑