通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LoadTestingModelFactory.TestRunEndedEventCondition Method

Definition

TestRunEnded Event condition.

public static Azure.Developer.LoadTesting.TestRunEndedEventCondition TestRunEndedEventCondition(System.Collections.Generic.IEnumerable<Azure.Developer.LoadTesting.TestRunStatus> testRunStatuses = default, System.Collections.Generic.IEnumerable<Azure.Developer.LoadTesting.PassFailTestResult> testRunResults = default);
static member TestRunEndedEventCondition : seq<Azure.Developer.LoadTesting.TestRunStatus> * seq<Azure.Developer.LoadTesting.PassFailTestResult> -> Azure.Developer.LoadTesting.TestRunEndedEventCondition
Public Shared Function TestRunEndedEventCondition (Optional testRunStatuses As IEnumerable(Of TestRunStatus) = Nothing, Optional testRunResults As IEnumerable(Of PassFailTestResult) = Nothing) As TestRunEndedEventCondition

Parameters

testRunStatuses
IEnumerable<TestRunStatus>

The test run statuses to send notification for.

testRunResults
IEnumerable<PassFailTestResult>

The test run results to send notification for.

Returns

A new TestRunEndedEventCondition instance for mocking.

Applies to