PerformanceCounterManager PerformanceCounterManager PerformanceCounterManager PerformanceCounterManager Class

Definition

Warning

This API is now obsolete.

Prepares performance data for the performance.dll the system loads when working with performance counters.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class PerformanceCounterManager sealed : System::Diagnostics::ICollectData
[System.Obsolete("use PerformanceCounter")]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("82840be1-d273-11d2-b94a-00600893b17a")]
[System.Runtime.InteropServices.Guid("82840BE1-D273-11D2-B94A-00600893B17A")]
[System.Obsolete("This class has been deprecated.  Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public sealed class PerformanceCounterManager : System.Diagnostics.ICollectData
type PerformanceCounterManager = class
    interface ICollectData
Public NotInheritable Class PerformanceCounterManager
Implements ICollectData
Inheritance
PerformanceCounterManagerPerformanceCounterManagerPerformanceCounterManagerPerformanceCounterManager
Attributes
Implements

Constructors

PerformanceCounterManager() PerformanceCounterManager() PerformanceCounterManager() PerformanceCounterManager()

Initializes a new instance of the PerformanceCounterManager class.

Explicit Interface Implementations

ICollectData.CloseData() ICollectData.CloseData() ICollectData.CloseData() ICollectData.CloseData()

Called by the perf dll's close performance data

ICollectData.CollectData(Int32, IntPtr, IntPtr, Int32, IntPtr) ICollectData.CollectData(Int32, IntPtr, IntPtr, Int32, IntPtr) ICollectData.CollectData(Int32, IntPtr, IntPtr, Int32, IntPtr) ICollectData.CollectData(Int32, IntPtr, IntPtr, Int32, IntPtr)

Performance data collection routine. Called by the PerfCount perf dll.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Security

LinkDemand
for full trust for the immediate caller. This class cannot be used by partially trusted code.

Applies to