UITestControlNotFoundException-Konstruktor (String)

Initialisiert eine neue Instanz der UITestControlNotFoundException-Klasse unter Verwendung der bereitgestellten Fehlermeldung.

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 _
)
public UITestControlNotFoundException(
    string message
)
public:
UITestControlNotFoundException(
    String^ message
)
new : 
        message:string -> UITestControlNotFoundException
public function UITestControlNotFoundException(
    message : String
)

Parameter

Hinweise

Verwenden Sie diesen Konstruktor, wenn das genaue Benutzeroberflächenelement nicht verfügbar ist, z. B., wenn Sie über eine Abfragezeichenfolge suchen.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITestControlNotFoundException Klasse

UITestControlNotFoundException-Überladung

Microsoft.VisualStudio.TestTools.UITest.Extension-Namespace