WebTestException 构造函数 (String)

使用错误消息初始化 WebTestException 类的新实例。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

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

参数

备注

如果 message 为 nullnull 引用(在 Visual Basic 中为 Nothing),则输出带文件和行号调用堆栈。

.NET Framework 安全性

请参见

参考

WebTestException 类

WebTestException 重载

Microsoft.VisualStudio.TestTools.WebTesting 命名空间