Condividi tramite


Costruttore UITestControlNotFoundException (String)

Inizializza una nuova istanza di UITestControlNotFoundException classe tramite il messaggio di errore fornito.

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

Parametri

Note

Utilizzare questo costruttore quando l'elemento dell'interfaccia utente esatto non è disponibile, come quando si individua una stringa di query.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITestControlNotFoundException Classe

Overload UITestControlNotFoundException

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