Partilhar via


Construtor UITestControlNotAvailableException (String, Object)

Inicializa uma nova instância da UITestControlNotAvailableException classe usando o elemento de controle da interface do usuário fornecido e a origem da exceção.

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 ( _
    uiTestControl As String, _
    exceptionSource As Object _
)
public UITestControlNotAvailableException(
    string uiTestControl,
    Object exceptionSource
)
public:
UITestControlNotAvailableException(
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        uiTestControl:string * 
        exceptionSource:Object -> UITestControlNotAvailableException
public function UITestControlNotAvailableException(
    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

UITestControlNotAvailableException Classe

Sobrecargas UITestControlNotAvailableException

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension

UITechnologyElement

UITestControl