Click or drag to resize

IDriverMetricsGetSessionMetricTMetricType Method

Gets a specific session metric. TMetricType can be any type in the inheritance tree of the metric object returned by the IDriverMetricsProvider.

Namespace:  Dse.Metrics
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
TMetricType GetSessionMetric<TMetricType>(
	SessionMetric sessionMetric
)
where TMetricType : class, IDriverMetric

Parameters

sessionMetric
Type: Dse.MetricsSessionMetric

Type Parameters

TMetricType

Return Value

Type: TMetricType
Exceptions
ExceptionCondition
ArgumentExceptionThis exception is thrown if the metric object can not be cast to TMetricType.
See Also