UITestErrorEventArgs Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public Sub New ( _
    action As UITestAction, _
    ex As Exception _
)
'Usage
Dim action As UITestAction
Dim ex As Exception

Dim instance As New UITestErrorEventArgs(action, _
    ex)
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

.NET Framework Security

See Also

Reference

UITestErrorEventArgs Class

UITestErrorEventArgs Members

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

UITestAction