摘要:
在站点执行Application_End事件中添加记录方法。在Global.asax.cs文件中添加如下代码即可:void Application_End(object sender, EventArgs e){ // Code that runs on application shutdown RecordEndReason();}protected void RecordEndReason(){ HttpRuntime runtime = (HttpRuntime)typeof(System.Web.HttpRuntime).InvokeMember("_theRuntime&q 阅读全文
posted @ 2011-08-11 15:24
玉开
阅读(2247)
评论(6)
推荐(4)

浙公网安备 33010602011771号