CounterData Class |
Namespace: NetQuarry.Diagnostics
The CounterData type exposes the following members.
Name | Description | |
---|---|---|
CounterData(IAppContext, Object, Double, String, PerfmonAttrs) |
Constructor for creating a new counter for a monitored object.
| |
CounterData(IAppContext, Object, DiagnosticCounterType, Double, String, PerfmonAttrs) |
Constructor for creating a new counter for a monitored object with a counter type.
| |
CounterData(IAppContext, String, String, String, Double, PerfmonAttrs) |
Constructor for creating a new counter for a specific category.
| |
CounterData(IAppContext, String, String, String, DiagnosticCounterType, Double, PerfmonAttrs) |
Constructor for creating a new counter for a specific category and counter type.
|
Name | Description | |
---|---|---|
CategoryName |
Gets the counter category name.
| |
CounterIncrementType |
Gets the counter increment type.
| |
CounterName |
Gets the counter name.
| |
Duration |
Gets the counter duration, in milliseconds.
| |
InstanceName |
Gets the counter instance name.
| |
MetricNameApp |
Gets the name of the metric, including the application name.
Use MetricNameObj to get the name of the metric excluding the application name.
| |
MetricNameObj |
Gets the name of the metric, excluding the application name.
Use MetricNameApp to get the name of the metric including the application name.
| |
MonitoredObjectAttrs |
Gets the attributes for the monitored object.
| |
PA |
Gets the PerfmonAttrs for this counter.
| |
TS |
Gets the counter duration as a TimeSpan.
| |
ValidationErrors |
Gets the validation errors string, if any.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (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 | (Inherited from Object.) | |
ValidateArguments |
Validates the counter arguments.
|
Name | Description | |
---|---|---|
EqualValue |
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.) |