共用方式為


TestResultDetail 建構函式

使用提供的測試結果和測試回合,初始化 TestResultDetail 類別的新執行個體。

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

語法

'宣告
Public Sub New ( _
    result As TestResult, _
    run As TestRun _
)
public TestResultDetail(
    TestResult result,
    TestRun run
)
public:
TestResultDetail(
    TestResult^ result, 
    TestRun^ run
)
new : 
        result:TestResult * 
        run:TestRun -> TestResultDetail
public function TestResultDetail(
    result : TestResult, 
    run : TestRun
)

參數

.NET Framework 安全性

請參閱

參考

TestResultDetail 類別

Microsoft.VisualStudio.TestTools.Common 命名空間

TestResult

TestRun