Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the ErrorAction class by using the descriptive message and element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
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
)
Parameters
message
Type: StringThe description of the error.
uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementThe element where the error occurred.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.