ASP.NET 中對於異常的處理

在ASP.NET編程中,如何對未捕獲的異常進行統一的處理(或者稱爲響應),有兩種方式 1. 通過Global.asax文件中編寫Application_Error事件 private static string LOG_SOURCE = ConfigurationManager.AppSettings["Event Log Source"]; // If an exception is throw
相關文章
相關標籤/搜索