Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LoadTest.ThresholdExceeded Event

Occurs when a threshold rule is exceeded.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

public event EventHandler<ThresholdExceededEventArgs> ThresholdExceeded

ThresholdExceededEventArgs identifies the performance counter that exceeded the threshold, the value of the performance counter sample, and whether the value exceeded the critical threshold level or just the warning threshold level.


If there is more than one agent computer running the load test, the ThresholdExceeded event will be fired on all the agents.

For more information about how to handle events, see Consuming Events.

© 2015 Microsoft