Click or drag to resize

PerfmonObjectCounter Class

A class representing a definition of a perfmance counter Some counters require a base counter definition. This class encapsulates that requirement based on the type of counter that is required. see https://msdn.microsoft.com/en-us/library/system.diagnostics.performancecountertype(v=vs.110).aspx
Inheritance Hierarchy
SystemObject
  NetQuarry.DiagnosticsPerfmonObjectCounter

Namespace:  NetQuarry.Diagnostics
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[SerializableAttribute]
public class PerfmonObjectCounter : IEAPBase, 
	ICloneable, ICacheable

The PerfmonObjectCounter type exposes the following members.

Constructors
  NameDescription
Public methodPerfmonObjectCounter
Constructor for a PerfmonObjectCounter instance
Top
Properties
  NameDescription
Public propertyBaseCounterType
System.Diagnostics.PerformanceCounterType base object for this PerfmonObjectCounter
Public propertyBaseName
The special Base Counter Name associated with this Perfmance Object Counter.
Public propertyCategoryName
The Perfmon category name that this PerfmonObjectCounter is associated with.
Public propertyCounterID
This unique ID associated with this PerfmonObjectCounter
Public propertyCounterType
System.Diagnostics.PerformanceCounterType object for this PerfmonObjectCounter
Public propertyFriendlyName
The friendly name of a PerformanceObjectCounter
Public propertyIncrementMethod
The increment method associated with this PerfmonObjectCounter
Public propertyKey
The unique key associated with this PerfmonObjectCounter
Public propertyProperties
The properties collection for the object.
Public propertyTextItems
The localized text for the object.
Top
Methods
  NameDescription
Public methodClone
The Clone method creates a copy of this ComponentInfos collection.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also