UITestControlNotFoundException-Konstruktor (String, String, Object)

Initialisiert eine neue Instanz der UITestControlNotFoundException-Klasse mithilfe der bereitgestellten Fehlermeldung, des Steuerelements zum Testen der Benutzeroberfläche sowie der Quelle.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

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

Parameter

  • exceptionSource
    Typ: System.Object
    Das object, das die Quelle der Ausnahme ist.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITestControlNotFoundException Klasse

UITestControlNotFoundException-Überladung

Microsoft.VisualStudio.TestTools.UITest.Extension-Namespace

UITestControl