Share via


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

See Also

Reference

ThresholdExceededEventArgs Class

ThresholdExceededEventArgs Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace