Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.String- The description of the error. 
- uiElement 
 Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement- The element where the error occurred. 
See Also
ErrorAction Overload
ErrorAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top