Partilhar via


Construtor UITestControlNotAvailableException (IUITechnologyElement, Exception)

Inicializa uma nova instância da UITestControlNotAvailableException classe usando o elemento de interface do usuário fornecido.

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 ( _
    element As IUITechnologyElement, _
    innerException As Exception _
)
public UITestControlNotAvailableException(
    IUITechnologyElement element,
    Exception innerException
)
public:
UITestControlNotAvailableException(
    IUITechnologyElement^ element, 
    Exception^ innerException
)
new : 
        element:IUITechnologyElement * 
        innerException:Exception -> UITestControlNotAvailableException
public function UITestControlNotAvailableException(
    element : IUITechnologyElement, 
    innerException : Exception
)

Parâmetros

  • innerException
    Tipo: System.Exception
    A exceção original que causou a exceção atual.

Segurança do .NET Framework

Consulte também

Referência

UITestControlNotAvailableException Classe

Sobrecargas UITestControlNotAvailableException

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension

UITechnologyElement