Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Checks the value of one or more counter samples against a threshold and returns a result that indicates the status of the counter relative to the threshold parameters specified by the rule parameters.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Function CheckCounterValue ( _
counterValue As PerformanceCounterValue, _
counterProvider As ICounterProvider _
) As ThresholdRuleResult
ThresholdRuleResult CheckCounterValue(
PerformanceCounterValue counterValue,
ICounterProvider counterProvider
)
ThresholdRuleResult CheckCounterValue(
PerformanceCounterValue^ counterValue,
ICounterProvider^ counterProvider
)
abstract CheckCounterValue :
counterValue:PerformanceCounterValue *
counterProvider:ICounterProvider -> ThresholdRuleResult
function CheckCounterValue(
counterValue : PerformanceCounterValue,
counterProvider : ICounterProvider
) : ThresholdRuleResult
Parameters
counterValue
Type: Microsoft.VisualStudio.TestTools.LoadTesting.PerformanceCounterValueThe computed value of a performance counter.
counterProvider
Type: Microsoft.VisualStudio.TestTools.LoadTesting.ICounterProviderProvides information about performance counter values.
Return Value
Type: Microsoft.VisualStudio.TestTools.LoadTesting.ThresholdRuleResult
A ThresholdRuleResult enumeration.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.