Partilhar via


Construtor UITestControlNotAvailableException (String, Exception, String, Object)

Inicializa uma nova instância de UITestControlNotAvailableException 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, _
    innerException As Exception, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public UITestControlNotAvailableException(
    string message,
    Exception innerException,
    string uiTestControl,
    Object exceptionSource
)
public:
UITestControlNotAvailableException(
    String^ message, 
    Exception^ innerException, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        message:string * 
        innerException:Exception * 
        uiTestControl:string * 
        exceptionSource:Object -> UITestControlNotAvailableException
public function UITestControlNotAvailableException(
    message : String, 
    innerException : Exception, 
    uiTestControl : String, 
    exceptionSource : Object
)

Parâmetros

  • innerException
    Tipo: System.Exception
    A exceção original que causou a exceção atual.
  • 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

UITestControl