UITestControlNotAvailableException-Konstruktor (Exception, String, Object)

Initialisiert eine neue Instanz der UITestControlNotAvailableException-Klasse mithilfe der bereitgestellten inneren Ausnahme, des Benutzeroberflächen-Teststeuerelements und der Ausnahmequelle.

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

Syntax

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

Parameter

  • innerException
    Typ: System.Exception
    Das ursprüngliche Ausnahmeobjekt, das diese Ausnahme ausgelöst hat.
  • exceptionSource
    Typ: System.Object
    Das object, das die Quelle der Ausnahme ist.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITestControlNotAvailableException Klasse

UITestControlNotAvailableException-Überladung

Microsoft.VisualStudio.TestTools.UITest.Extension-Namespace

UITestControl