Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionA UITestAction object.
ex
Type: ExceptionThe 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.