WebTestStoppedException 构造函数 (SerializationInfo, StreamingContext)

为远程方案初始化 WebTestStoppedException 类的新实例。

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

语法

声明
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected WebTestStoppedException(
    SerializationInfo info,
    StreamingContext context
)
protected:
WebTestStoppedException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> WebTestStoppedException
protected function WebTestStoppedException(
    info : SerializationInfo, 
    context : StreamingContext
)

参数

异常

异常 条件
ArgumentNullException

info 为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

WebTestStoppedException 类

WebTestStoppedException 重载

Microsoft.VisualStudio.TestTools.WebTesting 命名空间