Udostępnij za pośrednictwem


Klasa ComputerInfo

Uwaga: ten interfejs API jest teraz nieaktualny.

Zawiera informacje o komputerze, który wysłał TestResultMessage.Ta klasa jest przestarzała.

Hierarchia dziedziczenia

Object
  Microsoft.VisualStudio.TestTools.Common.ComputerInfo

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

Składnia

'Deklaracja
<SerializableAttribute> _
<ObsoleteAttribute("This class is obsolete.")> _
Public Class ComputerInfo
[SerializableAttribute]
[ObsoleteAttribute("This class is obsolete.")]
public class ComputerInfo
[SerializableAttribute]
[ObsoleteAttribute(L"This class is obsolete.")]
public ref class ComputerInfo
[<SerializableAttribute>]
[<ObsoleteAttribute("This class is obsolete.")>]
type ComputerInfo =  class end
public class ComputerInfo

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

Konstruktorzy

  Nazwa Opis
Metoda publiczna ComputerInfo() Inicjuje wystąpienie ComputerInfo klasy.
Metoda publiczna ComputerInfo(String) Inicjuje wystąpienie ComputerInfo klasy przy użyciu nazwy podanego komputera.

Początek

Właściwości

  Nazwa Opis
Właściwość publiczna ComputerName Pobiera nazwę komputera.

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.Common

TestResultMessage