Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Occurs once every second.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public Event Heartbeat As EventHandler(Of HeartbeatEventArgs)
public event EventHandler<HeartbeatEventArgs> Heartbeat
public:
event EventHandler<HeartbeatEventArgs^>^ Heartbeat {
void add (EventHandler<HeartbeatEventArgs^>^ value);
void remove (EventHandler<HeartbeatEventArgs^>^ value);
}
member Heartbeat : IEvent<EventHandler<HeartbeatEventArgs>,
HeartbeatEventArgs>
JScript does not support events.
Remarks
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.
.NET Framework Security
- 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.