TestOutcomeHelper.GetAggregationOutcome 方法

此 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

参数

返回值

类型:Microsoft.VisualStudio.TestTools.Common.TestOutcome
测试结果,表示所提供的数组中每个测试结果的最低结果数值。

.NET Framework 安全性

请参见

参考

TestOutcomeHelper 类

Microsoft.VisualStudio.TestTools.Common 命名空间

TestOutcome

TestResult