c# - MSDN 在提及事件及其事件处理程序时是否使用了错误的术语?

标签 c# asp.net events


我注意到 MSDN 在提及事件及其事件处理程序时多次使用“错误”术语。例如:

The ProfileAutoSaving event is raised at the end of page execution if the ProfileManager.AutomaticSaveEnabled property is true. You can access the ProfileAutoSaving event of the ProfileModule class in the Global.asax file for your ASP.NET application using the Profile_ProfileAutoSaving global event

为什么上面的引用将 Profile_ProfileAutoSaving 描述为全局事件,而据我所知,它实际上是订阅 ProfileAutoSaving 事件的事件处理程序?!


谢谢

最佳答案

它是全局事件吗,因为它位于 Global.asax 文件中?这有什么问题吗?

编辑:我不确定“全局事件”和“事件处理程序”之间的区别。这些并不是相互排斥的描述。本质上,这是一个全局事件处理程序。

关于c# - MSDN 在提及事件及其事件处理程序时是否使用了错误的术语?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1009669/

相关文章:

c# - ASP.NET core 中第三方数据上下文的依赖注入(inject)

c# - 如何在 C# 中使用与 HTML 代码相同的布局即时生成 PDF

c# - 帮助使“Windows Input Simulator” C#界面正常工作

c# - 不明确的调用 asp.net mvc 操作方法

asp.net - Gridview - 基于列数据的单元格行颜色

c# - 在 ASP .NET Visual Studio 中使用 SAS 存储过程。 SAS 集成技术?

vba - Worksheet_BeforeDoubleClick 进行选择

c# - 将现有数据库加载到通用应用程序

javascript - 响应式模板数据改变 DOM 后 Meteor 调用 JS

Qt:事件循环开始时有通知吗?