摘要: 这一章我们主要来讲异常过滤器ExceptionFilter,废话不多说,mvc3中默认的异常过滤器特性类是HandleErrorAttribute,该类的主要主要成员有:public Type ExceptionType{get;set}public string View { get { if (string.IsNullOrEmpty(this._view)) { return "Error"; } return this._view; } set { this._view = value; } }public virtual void OnException(Exce 阅读全文
posted @ 2013-02-28 11:49 肖&申&克 阅读(475) 评论(0) 推荐(0) 编辑