IAppContextLogPerformance Method |
Log the performance metric of an object using a diagnostic service
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax void LogPerformance(
Object monitoredObject,
double duration,
string diagnosticService = null
)
Sub LogPerformance (
monitoredObject As Object,
duration As Double,
Optional diagnosticService As String = Nothing
)
Parameters
- monitoredObject
- Type: SystemObject
The object that is recording the metric - duration
- Type: SystemDouble
The duration of the event (typically in milliseconds) - diagnosticService (Optional)
- Type: SystemString
The diagnostic service to use to monitor the metric. If not specified, will use the diagnostic service associated with the Diagnostic Service Feature on this application object.
See Also