Condividi tramite


Costruttore UITestControlNotFoundException (String, String, Object)

Inizializza una nuova istanza della classe UITestControlNotFoundException utilizzando il messaggio di errore, il controllo di test dell'interfaccia utente e l'origine 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 ( _
    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
)

Parametri

  • exceptionSource
    Tipo: System.Object
    Oggetto object che rappresenta l'origine dell'eccezione.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITestControlNotFoundException Classe

Overload UITestControlNotFoundException

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

UITestControl