共用方式為


TestResultAggregation 建構函式

包含受保護的成員
包含繼承的成員

初始化 TestResultAggregation 類別的新執行個體。

這個成員是多載的。如需這個成員的完整資訊,包含語法、使用方式和範例,請按一下多載清單中的名稱。

多載清單

  名稱 說明
受保護的方法 TestResultAggregation() 初始化 TestResultAggregation 類別的新執行個體。
公用方法 TestResultAggregation(TestResult) 使用提供的測試結果,初始化 TestResultAggregation 類別的新執行個體。
受保護的方法 TestResultAggregation(TestResultAggregation) 基礎架構。使用提供的測試結果彙總,初始化 TestResultAggregation 類別的新執行個體。
受保護的方法 TestResultAggregation(SerializationInfo, StreamingContext) 從 XML 序列化,初始化 TestResultAggregation 類別的新執行個體。
公用方法 TestResultAggregation(String, Guid, ITestElement) 使用提供的電腦資訊、測試回合 ID 和測試,初始化 TestResultAggregation 類別的新執行個體。
公用方法 TestResultAggregation(ComputerInfo, Guid, ITestElement) 已過時。使用提供的電腦資訊、回合 ID 和測試項目,初始化 TestResultAggregation 類別的新執行個體。
公用方法 TestResultAggregation(String, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[]) 使用提供的參數初始化 TestResultAggregation 類別的新執行個體。
公用方法 TestResultAggregation(ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[]) 已過時。初始化 TestResultAggregation 類別的新執行個體。
公用方法 TestResultAggregation(String, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[], Int32) 初始化 TestResultAggregation 類別的新執行個體。
公用方法 TestResultAggregation(ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[], Int32) 已過時。初始化 TestResultAggregation 類別的新執行個體。

回頁首

請參閱

參考

TestResultAggregation 類別

Microsoft.VisualStudio.TestTools.Common 命名空間