Click or drag to resize

CounterData Class

A performance monitoring counter description.
Inheritance Hierarchy
SystemObject
  NetQuarry.DiagnosticsCounterData

Namespace:  NetQuarry.Diagnostics
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class CounterData

The CounterData type exposes the following members.

Constructors
  NameDescription
Public methodCounterData(IAppContext, Object, Double, String, PerfmonAttrs)
Constructor for creating a new counter for a monitored object.
Public methodCounterData(IAppContext, Object, DiagnosticCounterType, Double, String, PerfmonAttrs)
Constructor for creating a new counter for a monitored object with a counter type.
Public methodCounterData(IAppContext, String, String, String, Double, PerfmonAttrs)
Constructor for creating a new counter for a specific category.
Public methodCounterData(IAppContext, String, String, String, DiagnosticCounterType, Double, PerfmonAttrs)
Constructor for creating a new counter for a specific category and counter type.
Top
Properties
  NameDescription
Public propertyCategoryName
Gets the counter category name.
Public propertyCounterIncrementType
Gets the counter increment type.
Public propertyCounterName
Gets the counter name.
Public propertyDuration
Gets the counter duration, in milliseconds.
Public propertyInstanceName
Gets the counter instance name.
Public propertyMetricNameApp
Gets the name of the metric, including the application name. Use MetricNameObj to get the name of the metric excluding the application name.
Public propertyMetricNameObj
Gets the name of the metric, excluding the application name. Use MetricNameApp to get the name of the metric including the application name.
Public propertyMonitoredObjectAttrs
Gets the attributes for the monitored object.
Public propertyPA
Gets the PerfmonAttrs for this counter.
Public propertyTS
Gets the counter duration as a TimeSpan.
Public propertyValidationErrors
Gets the validation errors string, if any.
Top
Methods
  NameDescription
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.)
Public methodValidateArguments
Validates the counter arguments.
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