WebBaseErrorEvent.IncrementPerfCounters Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Increments the event-error performance-related counters.

Namespace: System.Web.Management
Assembly: System.Web (in system.web.dll)

protected public:
virtual void IncrementPerfCounters () override
protected void IncrementPerfCounters ()
protected internal override function IncrementPerfCounters ()
Not applicable.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: