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
/** @event */
public void add_ThresholdExceeded (EventHandler<ThresholdExceededEventArgs> value)

/** @event */
public void remove_ThresholdExceeded (EventHandler<ThresholdExceededEventArgs> value)

JScript supports the use of events, but not the declaration of new ones.

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.

Community Additions

ADD
Show:
© 2014 Microsoft