Udostępnij za pośrednictwem


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
Metoda publiczna UITestErrorEventArgs Inicjuje nowe wystąpienie UITestErrorEventArgs klasy przy użyciu dostarczonego akcji i wyjątków.

Początek

Właściwości

  Nazwa Opis
Właściwość publiczna Action Pobiera skojarzonym UITestAction obiektu. (Odziedziczone z UITestActionEventArgs).
Właściwość publiczna Error Pobiera Exception , która spowodowała błąd.
Właściwość publiczna Result Pobiera lub ustawia wynik działania skojarzone.

Początek

Metody

  Nazwa Opis
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda chroniona Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetType Gets the Type of the current instance. (Odziedziczone z Object).
Metoda chroniona MemberwiseClone Creates a shallow copy of the current Object. (Odziedziczone z Object).
Metoda publiczna 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

UITestActionEventArgs