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
)
參數
other
類型:Microsoft.VisualStudio.TestTools.Common.TestResultCounter要複製的 TestResultCounter 物件。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。