CounterData Constructor (IAppContext, Object, Double, String, PerfmonAttrs) |
Constructor for creating a new counter for a monitored object.
Namespace:
NetQuarry.Diagnostics
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public CounterData(
IAppContext cxt,
Object monitoredObject,
double duration,
string counterName = null,
PerfmonAttrs attrs =
)
Public Sub New (
cxt As IAppContext,
monitoredObject As Object,
duration As Double,
Optional counterName As String = Nothing,
Optional attrs As PerfmonAttrs =
)
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - monitoredObject
- Type: SystemObject
The object being monitored. - duration
- Type: SystemDouble
The duration, in milliseconds. - counterName (Optional)
- Type: SystemString
The name of the counter. - attrs (Optional)
- Type: NetQuarry.DiagnosticsPerfmonAttrs
The PerfmonAttrs.
See Also