Udostępnij za pośrednictwem


Konstruktor UITestErrorEventArgs — (UITestAction, Exception)

 

Inicjuje nowe wystąpienie T:Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UITestErrorEventArgs klasy przy użyciu dostarczonego akcji i wyjątków.

Przestrzeń nazw:   Microsoft.VisualStudio.TestTools.UITest.Common
Zestaw:  Microsoft.VisualStudio.TestTools.UITest.Common (w Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Składnia

public UITestErrorEventArgs(
    UITestAction action,
    Exception ex
)
public:
UITestErrorEventArgs(
    UITestAction^ action,
    Exception^ ex
)
new : 
        action:UITestAction *
        ex:Exception -> UITestErrorEventArgs
Public Sub New (
    action As UITestAction,
    ex As Exception
)

Parametry

  • ex
    Exception , Która spowodowała zdarzenia.

Zobacz też

UITestAction
Klasa UITestErrorEventArgs
Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Common

Powrót do początku