Klasa ContextParameter
Reprezentuje pojedynczy parametr w kontekście testowania wydajności sieci Web, zawierającej nazwę i wartość.
Hierarchia dziedziczenia
Object
Microsoft.VisualStudio.TestTools.WebTesting.ContextParameter
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.WebTesting
Zestaw: Microsoft.VisualStudio.QualityTools.WebTestFramework (w Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Składnia
'Deklaracja
<SerializableAttribute> _
Public Class ContextParameter _
Implements ICloneable
[SerializableAttribute]
public class ContextParameter : ICloneable
[SerializableAttribute]
public ref class ContextParameter : ICloneable
[<SerializableAttribute>]
type ContextParameter =
class
interface ICloneable
end
public class ContextParameter implements ICloneable
Typ ContextParameter uwidacznia następujące elementy członkowskie.
Konstruktorzy
Nazwa | Opis | |
---|---|---|
![]() |
ContextParameter() | Inicjuje nowe wystąpienie ContextParameter klasy. |
![]() |
ContextParameter(String, String) | Inicjuje nowe wystąpienie ContextParameter klasy przy użyciu podanej nazwy i wartości. |
Początek
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Name | Zwraca lub ustawia nazwę ContextParameter. |
![]() |
Value | Zwraca lub ustawia wartość ContextParameter. |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
Clone | Tworzy nowy ContextParameter to jest kopia bieżącej instancji. |
![]() |
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
Uwagi
A ContextParameter obiektu zwykle jest jednym z wielu ContextParameter obiektów, właściwości WebTest.Context, który jest kolekcją ContextParameter obiektów.
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.