TestResultAggregation 建構函式 (String, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[])
使用提供的參數初始化 TestResultAggregation 類別的新執行個體。
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
Public Sub New ( _
computerInfo As String, _
runId As Guid, _
test As ITestElement, _
outcome As TestOutcome, _
counters As TestResultCounter, _
innerResults As TestResult() _
)
public TestResultAggregation(
string computerInfo,
Guid runId,
ITestElement test,
TestOutcome outcome,
TestResultCounter counters,
TestResult[] innerResults
)
public:
TestResultAggregation(
String^ computerInfo,
Guid runId,
ITestElement^ test,
TestOutcome outcome,
TestResultCounter^ counters,
array<TestResult^>^ innerResults
)
new :
computerInfo:string *
runId:Guid *
test:ITestElement *
outcome:TestOutcome *
counters:TestResultCounter *
innerResults:TestResult[] -> TestResultAggregation
public function TestResultAggregation(
computerInfo : String,
runId : Guid,
test : ITestElement,
outcome : TestOutcome,
counters : TestResultCounter,
innerResults : TestResult[]
)
參數
computerInfo
類型:String測試執行所在電腦的名稱。
runId
類型:Guid測試回合的 ID。
outcome
類型:Microsoft.VisualStudio.TestTools.Common.TestOutcomeTestOutcome 物件。
innerResults
類型:array<Microsoft.VisualStudio.TestTools.Common.TestResult[]TestResult 物件的陣列。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。