ErrorAction Constructor (String, UITechnologyElement)
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
public ErrorAction(
string message,
UITechnologyElement uiElement
)
public:
ErrorAction(
String^ message,
UITechnologyElement^ uiElement
)
new :
message:string *
uiElement:UITechnologyElement -> ErrorAction
Public Sub New (
message As String,
uiElement As UITechnologyElement
)
Parameters
message
Type: System.StringThe description of the error.
uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementThe element where the error occurred.
See Also
ErrorAction Overload
ErrorAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top