Condividi tramite


Costruttore UITestControlNotAvailableException (Exception, String, Object)

Inizializza una nuova istanza della classe UITestControlNotAvailableException utilizzando l'eccezione interna, il controllo di test dell'interfaccia utente e l'origine dell'eccezione specificati.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Sintassi

'Dichiarazione
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
)

Parametri

  • innerException
    Tipo: Exception

    Eccezione originale che ha causato l'eccezione.

  • uiTestControl
    Tipo: String

    Rappresentazione di stringa dell'oggetto UITestControl bloccato.

  • exceptionSource
    Tipo: Object

    Oggetto object che rappresenta l'origine dell'eccezione.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITestControlNotAvailableException Classe

Overload UITestControlNotAvailableException

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Extension

UITestControl