Partilhar via


Construtor UITestControlNotFoundException (String, String, Object)

Inicializa uma nova instância de UITestControlNotFoundException classe usando a mensagem de erro fornecida, controle de teste de interface do usuário e de origem.

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

Sintaxe

'Declaração
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
)

Parâmetros

  • exceptionSource
    Tipo: System.Object
    O object ou seja, a origem da exceção.

Segurança do .NET Framework

Consulte também

Referência

UITestControlNotFoundException Classe

Sobrecargas UITestControlNotFoundException

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension

UITestControl