ThresholdExceededEventArgs.CounterValue Property
Gets the complete name (computer, category, counter, and instance) and value of the performance counter sample that exceeded a threshold.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property CounterValue As PerformanceCounterValue
'Usage
Dim instance As ThresholdExceededEventArgs
Dim value As PerformanceCounterValue
value = instance.CounterValue
public PerformanceCounterValue CounterValue { get; }
public:
property PerformanceCounterValue^ CounterValue {
PerformanceCounterValue^ get ();
}
public function get CounterValue () : PerformanceCounterValue
Property Value
Type: Microsoft.VisualStudio.TestTools.LoadTesting.PerformanceCounterValue
A PerformanceCounterValue object.
.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.
See Also
Reference
ThresholdExceededEventArgs Class