LoadTestScenario.LoadChanged Event

Occurs when the current user load for this scenario changes as the load test runs.

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

Syntax

'Declaration
Public Event LoadChanged As EventHandler
public event EventHandler LoadChanged
public:
 event EventHandler^ LoadChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
member LoadChanged : IEvent<EventHandler,
    EventArgs>
JScript does not support events.

Remarks

The CurrentLoad property can be accessed to get the new value for the user load. For more information about how to handle events, see Consuming Events.

.NET Framework Security

See Also

Reference

LoadTestScenario Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

Other Resources

How to: Create a Load Test Plug-In