此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
返回测试结果,表示所提供的数组中每个测试结果的最低结果数值。
命名空间: Microsoft.VisualStudio.TestTools.Common
程序集: Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
语法
声明
Public Shared Function GetAggregationOutcome ( _
results As TestResult() _
) As TestOutcome
public static TestOutcome GetAggregationOutcome(
TestResult[] results
)
public:
static TestOutcome GetAggregationOutcome(
array<TestResult^>^ results
)
static member GetAggregationOutcome :
results:TestResult[] -> TestOutcome
public static function GetAggregationOutcome(
results : TestResult[]
) : TestOutcome
参数
- results
类型:array<Microsoft.VisualStudio.TestTools.Common.TestResult[]
一个由 TestResult 对象组成的数组。
返回值
类型:Microsoft.VisualStudio.TestTools.Common.TestOutcome
测试结果,表示所提供的数组中每个测试结果的最低结果数值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。