Click or drag to resize

PerformanceMonitor Methods

The PerformanceMonitor type exposes the following members.

Methods
  Name Description
Public method AddCounter(PerformanceCounter) Adds a PerformanceCounter to be monitored.
(Inherited from PerformanceMonitorBase)
Public method AddCounter(String, String, String) Adds a PerformanceCounter to be monitored.
(Inherited from PerformanceMonitorBase)
Public method AddCounter(String, String, String, String) Adds a PerformanceCounter to be monitored.
(Inherited from PerformanceMonitorBase)
Public method AddCounter(String, String, String, String, String) Adds a PerformanceCounter to be monitored.
(Inherited from PerformanceMonitorBase)
Public method AddCounter(String, String, String, String, String, Single, Boolean, FuncSingle, Single, FuncSingle, Boolean) Adds a PerformanceCounter to be monitored.
(Inherited from PerformanceMonitorBase)
Public method Dispose Releases all the resources used by the PerformanceMonitorBase object.
(Inherited from PerformanceMonitorBase)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the PerformanceMonitorBase object and optionally releases the managed resources.
(Inherited from PerformanceMonitorBase)
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Releases the unmanaged resources before the PerformanceMonitor object is reclaimed by GC.
(Overrides PerformanceMonitorBaseFinalize)
Public method FindCounter(String) Returns a PerformanceCounter object matching the specified counter name.
(Inherited from PerformanceMonitorBase)
Public method FindCounter(String, String) Returns a PerformanceCounter object matching the specified counter name.
(Inherited from PerformanceMonitorBase)
Public method FindCounters(String) Returns PerformanceCounter array matching the specified counter name.
(Inherited from PerformanceMonitorBase)
Public method FindCounters(String, String) Returns PerformanceCounter array matching the specified counter name.
(Inherited from PerformanceMonitorBase)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method RemoveCounter Removes a PerformanceCounter being monitored.
(Inherited from PerformanceMonitorBase)
Public method SampleCounters Sample all defined counters.
(Inherited from PerformanceMonitorBase)
Protected method SampleCustomCounters Handle sampling of custom counters.
(Overrides PerformanceMonitorBaseSampleCustomCounters)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also