Share via


UITestErrorEventArgs Constructor

Initializes a new instance of the UITestErrorEventArgs class by using the provided action and exception.

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

Syntax

'Declaration
Public Sub New ( _
    action As UITestAction, _
    ex As Exception _
)
public UITestErrorEventArgs(
    UITestAction action,
    Exception ex
)
public:
UITestErrorEventArgs(
    UITestAction^ action, 
    Exception^ ex
)
new : 
        action:UITestAction * 
        ex:Exception -> UITestErrorEventArgs
public function UITestErrorEventArgs(
    action : UITestAction, 
    ex : Exception
)

Parameters

  • ex
    Type: Exception

    The Exception that caused the event.

.NET Framework Security

See Also

Reference

UITestErrorEventArgs Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

UITestAction