Share via


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