แก้ไข

แชร์ผ่าน


PerformanceCounterManager Class

Definition

Caution

This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. http://go.microsoft.com/fwlink/?linkid=14202

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
public sealed class PerformanceCounterManager : System.Diagnostics.ICollectData
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("82840BE1-D273-11D2-B94A-00600893B17A")]
public sealed class PerformanceCounterManager : System.Diagnostics.ICollectData
[System.Runtime.InteropServices.ComVisible(true)]
[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
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("82840BE1-D273-11D2-B94A-00600893B17A")>]
type PerformanceCounterManager = class
    interface ICollectData
[<System.Runtime.InteropServices.ComVisible(true)>]
[<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")>]
type PerformanceCounterManager = class
    interface ICollectData
Public NotInheritable Class PerformanceCounterManager
Implements ICollectData
Inheritance
PerformanceCounterManager
Attributes
Implements

Constructors

PerformanceCounterManager()

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

Obsolete.
Obsolete.
Obsolete.

Initializes a new instance of the PerformanceCounterManager class.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollectData.CloseData()

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

Obsolete.
Obsolete.
Obsolete.

Called by the perf dll's close performance data.

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

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

Obsolete.
Obsolete.
Obsolete.

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

Applies to