UITestErrorEventArgs 构造函数

使用提供的操作和异常初始化 UITestErrorEventArgs 类的新实例。

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Common
程序集:  Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

语法

声明
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
)

参数

.NET Framework 安全性

请参见

参考

UITestErrorEventArgs 类

Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

UITestAction