Konstruktor ErrorAction — (String, UITechnologyElement)
Inicjuje nowe wystąpienie ErrorAction klasy przy użyciu komunikatu opisowego i element.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITest.Common
Zestaw: Microsoft.VisualStudio.TestTools.UITest.Common (w Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Składnia
'Deklaracja
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
)
Parametry
message
Typ: StringOpis błędu.
uiElement
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementElement, w którym wystąpił błąd.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.
Zobacz też
Informacje
Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Common