.NET Framework Class Library
PerformanceCounterManager Constructor

This constructor supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the PerformanceCounterManager class.

Namespace: System.Diagnostics
Assembly: System (in system.dll)

Syntax

Visual Basic (Declaration)
<ObsoleteAttribute("This class has been deprecated.  Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.  http://go.microsoft.com/fwlink/?linkid=14202")> _
Public Sub New
Visual Basic (Usage)
Dim instance As New PerformanceCounterManager
C#
[ObsoleteAttribute("This class has been deprecated.  Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.  http://go.microsoft.com/fwlink/?linkid=14202")] 
public PerformanceCounterManager ()
C++
[ObsoleteAttribute(L"This class has been deprecated.  Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.  http://go.microsoft.com/fwlink/?linkid=14202")] 
public:
PerformanceCounterManager ()
J#
/** @attribute ObsoleteAttribute("This class has been deprecated.  Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.  http://go.microsoft.com/fwlink/?linkid=14202") */ 
public PerformanceCounterManager ()
JScript
ObsoleteAttribute("This class has been deprecated.  Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.  http://go.microsoft.com/fwlink/?linkid=14202") 
public function PerformanceCounterManager ()
Remarks

The performance counter performance.dll calls this constructor as part of its performance data collection routine.

Platforms

Windows 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Framework

Supported in: 1.0, 1.1
Obsolete (compiler warning) in 2.0
See Also

Tags :


Page view tracker