Freigeben über


UITestControlNotFoundException-Konstruktor (String, Exception)

Initialisiert eine neue Instanz der UITestControlNotFoundException-Klasse mit der bereitgestellten Fehlermeldung und der inneren Ausnahme.

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

Parameter

  • message
    Typ: String

    Die Fehlermeldung.

  • innerException
    Typ: Exception

    Die ursprüngliche Ausnahme, die die aktuelle Ausnahme ausgelöst hat.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITestControlNotFoundException Klasse

UITestControlNotFoundException-Überladung

Microsoft.VisualStudio.TestTools.UITest.Extension-Namespace