Udostępnij za pośrednictwem


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
'Usage
Dim instance As LoadTestScenario 
Dim handler As EventHandler 

AddHandler instance.LoadChanged, handler
public event EventHandler LoadChanged
public:
 event EventHandler^ LoadChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
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

LoadTestScenario Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

Other Resources

How to: Create a Load Test Plug-In