Occurs when a threshold rule is exceeded.
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
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 event will be fired on all the agents.
For more information about how to handle events, see Consuming Events.
- 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.