我能够指望这个ASP.NET事件日志源总是被注册? [英] Can I count on this ASP.NET event log source always being registered?

查看:125
本文介绍了我能够指望这个ASP.NET事件日志源总是被注册?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

未处理的异常导致基于ASP.NET的应用程序在.NET Framework 2.0中意外退出让我觉得,一个名为具有以下约定的事件日志源将始终在.NET Framework已经安装在任何框进行注册:

Unhandled exceptions cause ASP.NET-based applications to unexpectedly quit in the .NET Framework 2.0 makes me think that an event log source named with the following convention will always be registered on any box where the .NET Framework has been installed:

ASP.NET X.Y.Z.0

"ASP.NET X.Y.Z.0"

其中X,Y和Z是主要的,次要的,并且从.NET运行时的内部版本号。

Where X, Y, and Z are the major, minor, and build numbers from the .NET runtime.

它是安全的假设,.NET Framework的安装将始终创建此事件日志源?

Is it safe to assume that the installation of the .NET Framework will always create this event log source?

推荐答案

此事件日志源通过ASP.NET为的 ASP.NET运行状况监视。尤其是,它是由 EventLogProvider

This event log source is installed by ASP.NET as part of ASP.NET Health Monitoring. In particular, it is written to by the EventLogProvider.

这篇关于我能够指望这个ASP.NET事件日志源总是被注册?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆