using System.Diagnostics

protected void Application_Error(Object sender, EventArgs e)

        {

            EventLog.WriteEntry("FriendsReunion",

                Server.GetLastError().InnerException.Message,

                EventLogEntryType.Error);

        }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-06
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2022-02-15
  • 2022-12-23
相关资源
相似解决方案