Klasa PostRequestEventArgs
Dostarcza dane dla WebTestRequest.PostRequest i WebTest.PostRequest zdarzenia.
Hierarchia dziedziczenia
Object
EventArgs
Microsoft.VisualStudio.TestTools.WebTesting.PostRequestEventArgs
Microsoft.VisualStudio.TestTools.WebTesting.PostPageEventArgs
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.WebTesting
Zestaw: Microsoft.VisualStudio.QualityTools.WebTestFramework (w Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Składnia
'Deklaracja
Public Class PostRequestEventArgs _
Inherits EventArgs
public class PostRequestEventArgs : EventArgs
public ref class PostRequestEventArgs : public EventArgs
type PostRequestEventArgs =
class
inherit EventArgs
end
public class PostRequestEventArgs extends EventArgs
Typ PostRequestEventArgs uwidacznia następujące elementy członkowskie.
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Request | Pobiera WebTestRequest to jest źródłem PostRequest zdarzenia. |
![]() |
Response | Pobiera WebTestResponse generowany przez żądanie. |
![]() |
ResponseExists | Pobiera wartość, która wskazuje, czy istnieje odpowiedzi. |
![]() |
WebTest | Pobiera WebTest , która zawiera żądanie. |
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
Uwagi
Zapewnia to odwołanie do WebTest wygenerowany PostRequest zdarzenie, WebTestRequest to jest źródło wniosek oraz WebTestResponse generowany przez żądanie.
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