Klasa UITestErrorEventArgs
Zawiera argumenty zdarzeń dla wyjątków, które są generowane, gdy wystąpi błąd podczas przetwarzania badań w interfejsie użytkownika (UI).
Hierarchia dziedziczenia
Object
EventArgs
Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionEventArgs
Microsoft.VisualStudio.TestTools.UITest.Common.UITestErrorEventArgs
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITest.Common
Zestaw: Microsoft.VisualStudio.TestTools.UITest.Common (w Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Składnia
'Deklaracja
Public Class UITestErrorEventArgs _
Inherits UITestActionEventArgs
public class UITestErrorEventArgs : UITestActionEventArgs
public ref class UITestErrorEventArgs : public UITestActionEventArgs
type UITestErrorEventArgs =
class
inherit UITestActionEventArgs
end
public class UITestErrorEventArgs extends UITestActionEventArgs
Typ UITestErrorEventArgs uwidacznia następujące elementy członkowskie.
Konstruktorzy
Nazwa | Opis | |
---|---|---|
![]() |
UITestErrorEventArgs | Inicjuje nowe wystąpienie UITestErrorEventArgs klasy przy użyciu dostarczonego akcji i wyjątków. |
Początek
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Action | Pobiera skojarzonym UITestAction obiektu. (Odziedziczone z UITestActionEventArgs). |
![]() |
Error | Pobiera Exception , która spowodowała błąd. |
![]() |
Result | Pobiera lub ustawia wynik działania skojarzone. |
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.
Zobacz też
Informacje
Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Common