Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LoadTest::Heartbeat Event

 

Occurs once every second.

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

public:
event EventHandler<HeartbeatEventArgs^>^ Heartbeat {
	void add(EventHandler<HeartbeatEventArgs^>^ value);
	void remove(EventHandler<HeartbeatEventArgs^>^ value);
}

HeartbeatEventArgs indicates the elapsed time into the load test warm-up period or measurement period. A ILoadTestPlugin could use the Heartbeat event as a time to change the CurrentLoad property of a LoadTestScenario in the load test.

For more information about handling events, see Consuming Events.

Return to top
Show: