UITestException 构造函数 (String)

用给定的错误消息初始化 UITestException 类的新实例。

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

语法

声明
Public Sub New ( _
    message As String _
)
public UITestException(
    string message
)
public:
UITestException(
    String^ message
)
new : 
        message:string -> UITestException
public function UITestException(
    message : String
)

参数

  • message
    类型:String

    错误信息。

.NET Framework 安全性

请参阅

参考

UITestException 类

UITestException 重载

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