This documentation is archived and is not being maintained.

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.

NoteNote:

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.

Show: