|   | Performance | 
 Inheritance Hierarchy
Inheritance Hierarchy
         Syntax
Syntaxpublic abstract class PerformanceMonitorBase : IDisposable, IProvideStatus
The PerformanceMonitorBase type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | PerformanceMonitorBase | Initializes a new instance of the PerformanceMonitorBase class. | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Counters | Gets a read-only list of the PerformanceCounter objects monitored by the PerformanceMonitor object. | 
|  | LifetimeStatus | Gets the lifetime status statistics of the PerformanceMonitor object. | 
|  | Name | Gets the friendly name of the PerformanceMonitorBase object. | 
|  | SamplingInterval | Gets or sets the interval, in milliseconds, at which the Counters are to be sampled. | 
|  | Status | Gets the current status of the PerformanceMonitorBase object. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | AddCounter(PerformanceCounter) | Adds a PerformanceCounter to be monitored. | 
|  | AddCounter(String, String, String) | Adds a PerformanceCounter to be monitored. | 
|  | AddCounter(String, String, String, String) | Adds a PerformanceCounter to be monitored. | 
|  | AddCounter(String, String, String, String, String) | Adds a PerformanceCounter to be monitored. | 
|  | AddCounter(String, String, String, String, String, Single, Boolean, FuncSingle, Single, FuncSingle, Boolean) | Adds a PerformanceCounter to be monitored. | 
|  | Dispose | Releases all the resources used by the PerformanceMonitorBase object. | 
|  | Dispose(Boolean) | Releases the unmanaged resources used by the PerformanceMonitorBase object and optionally releases the managed resources. | 
|  | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | 
|  | Finalize | Releases the unmanaged resources before the PerformanceMonitor object is reclaimed by GC. (Overrides ObjectFinalize) | 
|  | FindCounter(String) | Returns a PerformanceCounter object matching the specified counter name. | 
|  | FindCounter(String, String) | Returns a PerformanceCounter object matching the specified counter name. | 
|  | FindCounters(String) | Returns PerformanceCounter array matching the specified counter name. | 
|  | FindCounters(String, String) | Returns PerformanceCounter array matching the specified counter name. | 
|  | 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) | 
|  | RemoveCounter | Removes a PerformanceCounter being monitored. | 
|  | SampleCounters | Sample all defined counters. | 
|  | SampleCustomCounters | Derived class should override this method to sample any custom counters. | 
|  | ToString | Returns a string that represents the current object. (Inherited from Object) | 
 Fields
Fields| Name | Description | |
|---|---|---|
|   | DefaultSamplingInterval | Default interval for sampling the Counters. | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | GetEnumValueOrDefault | Gets the enumeration constant for value, if defined in the enumeration, or a default value. (Defined by EnumExtensions) | 
|  | GetEnumValueOrDefaultT | Gets the enumeration constant for this value, if defined in the enumeration, or a default value. (Defined by EnumExtensions) | 
 See Also
See Also