WebBaseErrorEvent.IncrementPerfCounters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Increments the event-error performance-related counters.
protected public:
override void IncrementPerfCounters();
protected internal override void IncrementPerfCounters ();
override this.IncrementPerfCounters : unit -> unit
Protected Friend Overrides Sub IncrementPerfCounters ()
Remarks
This method increments the following performance counters:
Infrastructure Error Events Raised. This is a global counter that tracks the error events raised.
Error Events Raised. This is an application-specific counter that tracks the number of error events raised since the application started.
This method also calls the parent IncrementPerfCounters, which increments the Events Raised counter. This counter tracks the total number of events raised.
To view these performance counters in System Monitor (PerfMon), in the Add Counters window select ASP.NET in the Performance object drop-down list, select the performance counter you want to view, and click the Add button. For more information, see Using the System Monitor (PerfMon) with ASP.NET Applications in the IIS documentation on MSDN.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈