TestResult 构造函数 (TestResult)

通过复制提供的测试结果初始化 TestResult 类的新实例。

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

语法

声明
Protected Sub New ( _
    copy As TestResult _
)
protected TestResult(
    TestResult copy
)
protected:
TestResult(
    TestResult^ copy
)
new : 
        copy:TestResult -> TestResult
protected function TestResult(
    copy : TestResult
)

参数

.NET Framework 安全性

请参见

参考

TestResult 类

TestResult 重载

Microsoft.VisualStudio.TestTools.Common 命名空间