Compartilhar via


Construtor ErrorAction (String, UITechnologyElement)

Inicializa uma nova instância de ErrorAction classe usando a mensagem descritiva e elemento.

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

Sintaxe

'Declaração
Public Sub New ( _
    message As String, _
    uiElement As UITechnologyElement _
)
public ErrorAction(
    string message,
    UITechnologyElement uiElement
)
public:
ErrorAction(
    String^ message, 
    UITechnologyElement^ uiElement
)
new : 
        message:string * 
        uiElement:UITechnologyElement -> ErrorAction
public function ErrorAction(
    message : String, 
    uiElement : UITechnologyElement
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

ErrorAction Classe

Sobrecargas ErrorAction

Namespace Microsoft.VisualStudio.TestTools.UITest.Common