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 | |
---|---|---|
![]() |
ComputerInfo() | Inicjuje wystąpienie ComputerInfo klasy. |
![]() |
ComputerInfo(String) | Inicjuje wystąpienie ComputerInfo klasy przy użyciu nazwy podanego komputera. |
Początek
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
ComputerName | Pobiera nazwę komputera. |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Odziedziczone z Object). |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object). |
![]() |
GetHashCode | Serves as the default hash function. (Odziedziczone z Object). |
![]() |
GetType | Gets the Type of the current instance. (Odziedziczone z Object). |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Odziedziczone z Object). |
![]() |
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.