Sdílet prostřednictvím


UITestControlNotFoundException – konstruktor (String, Exception, String, Object)

Inicializuje novou instanci UITestControlNotFoundException třídy pomocí poskytnutého chybová zpráva, vnitřní výjimka, test řízení uživatelského rozhraní a zdroje.

Obor názvů:  Microsoft.VisualStudio.TestTools.UITest.Extension
Sestavení:  Microsoft.VisualStudio.TestTools.UITest.Extension (v Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntaxe

'Deklarace
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public UITestControlNotFoundException(
    string message,
    Exception innerException,
    string uiTestControl,
    Object exceptionSource
)
public:
UITestControlNotFoundException(
    String^ message, 
    Exception^ innerException, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        message:string * 
        innerException:Exception * 
        uiTestControl:string * 
        exceptionSource:Object -> UITestControlNotFoundException
public function UITestControlNotFoundException(
    message : String, 
    innerException : Exception, 
    uiTestControl : String, 
    exceptionSource : Object
)

Parametry

  • innerException
    Typ: System.Exception
    Původní výjimce způsobil výjimku aktuální.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

UITestControlNotFoundException Třída

UITestControlNotFoundException – přetížení

Microsoft.VisualStudio.TestTools.UITest.Extension – obor názvů

UITestControl