Udostępnij za pośrednictwem


Klasa HeartbeatEventArgs

Dostarcza dane dla HeartBeat zdarzenia.

Hierarchia dziedziczenia

Object
  EventArgs
    Microsoft.VisualStudio.TestTools.LoadTesting.HeartbeatEventArgs

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.LoadTesting
Zestaw:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (w Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Składnia

'Deklaracja
Public Class HeartbeatEventArgs _
    Inherits EventArgs
public class HeartbeatEventArgs : EventArgs
public ref class HeartbeatEventArgs : public EventArgs
type HeartbeatEventArgs =  
    class 
        inherit EventArgs 
    end
public class HeartbeatEventArgs extends EventArgs

Typ HeartbeatEventArgs uwidacznia następujące elementy członkowskie.

Właściwości

  Nazwa Opis
Właściwość publiczna ElapsedSeconds Zwraca liczbę sekund od początku uruchomienia, łącznie z okresem rozgrzania.
Właściwość publiczna IsWarmupComplete Pobiera wartość, która wskazuje, czy okres nagrzewania jest kompletny.

Początek

Metody

  Nazwa Opis
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda chroniona Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetType Gets the Type of the current instance. (Odziedziczone z Object).
Metoda chroniona MemberwiseClone Creates a shallow copy of the current Object. (Odziedziczone z Object).
Metoda publiczna ToString Returns a string that represents the current object. (Odziedziczone z Object).

Początek

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.VisualStudio.TestTools.LoadTesting

Inne zasoby

Working with Load Tests