Klasa WebTestRequestHeader
Reprezentuje nagłówek HTTP.
Hierarchia dziedziczenia
Object
Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestHeader
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.WebTesting
Zestaw: Microsoft.VisualStudio.QualityTools.WebTestFramework (w Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Składnia
'Deklaracja
<SerializableAttribute> _
Public Class WebTestRequestHeader _
Implements ICloneable
[SerializableAttribute]
public class WebTestRequestHeader : ICloneable
[SerializableAttribute]
public ref class WebTestRequestHeader : ICloneable
[<SerializableAttribute>]
type WebTestRequestHeader =
class
interface ICloneable
end
public class WebTestRequestHeader implements ICloneable
Typ WebTestRequestHeader uwidacznia następujące elementy członkowskie.
Konstruktorzy
Nazwa | Opis | |
---|---|---|
![]() |
WebTestRequestHeader() | Inicjuje nowe wystąpienie WebTestRequestHeader klasy. |
![]() |
WebTestRequestHeader(String, String) | Inicjuje nowe wystąpienie WebTestRequestHeader klasy z wartościami dla Name i Value właściwości. |
Początek
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Name | Pobiera lub ustawia nazwę nagłówka żądania. |
![]() |
Value | Zwraca lub ustawia wartość nagłówka żądania. |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
Clone | Tworzy kopię 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
Ta klasa jest możliwy do serializacji.
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.WebTesting