共用方式為


TestResultCounter 建構函式 (TestResultCounter)

藉由建立所提供之測試結果計數器的複本,初始化 TestResultCounter 類別的新執行個體。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
Public Sub New ( _
    other As TestResultCounter _
)
public TestResultCounter(
    TestResultCounter other
)
public:
TestResultCounter(
    TestResultCounter^ other
)
new : 
        other:TestResultCounter -> TestResultCounter
public function TestResultCounter(
    other : TestResultCounter
)

參數

.NET Framework 安全性

請參閱

參考

TestResultCounter 類別

TestResultCounter 多載

Microsoft.VisualStudio.TestTools.Common 命名空間