WebTestStoppedException 构造函数 (String, Exception)

初始化 WebTestStoppedException 类的新实例,该实例包含错误消息和对导致此异常的内部 Exception 的引用。

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

语法

声明
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public WebTestStoppedException(
    string message,
    Exception innerException
)
public:
WebTestStoppedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> WebTestStoppedException
public function WebTestStoppedException(
    message : String, 
    innerException : Exception
)

参数

  • message
    类型:System.String
    解释异常原因的错误消息。

.NET Framework 安全性

请参见

参考

WebTestStoppedException 类

WebTestStoppedException 重载

Microsoft.VisualStudio.TestTools.WebTesting 命名空间