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
- action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
A UITestAction object.
- ex
Type: System.Exception
The Exception that caused the event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace