UITestErrorEventArgs Constructor (UITestAction, Exception)
Initializes a new instance of the T:Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.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
public UITestErrorEventArgs(
UITestAction action,
Exception ex
)
public:
UITestErrorEventArgs(
UITestAction^ action,
Exception^ ex
)
new :
action:UITestAction *
ex:Exception -> UITestErrorEventArgs
Public Sub New (
action As UITestAction,
ex As Exception
)
Parameters
action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionA UITestAction object.
ex
Type: System.ExceptionThe Exception that caused the event.
See Also
UITestAction
UITestErrorEventArgs Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top