通过


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

LoadTestingModelFactory.DailyRecurrence(RecurrenceEnd, Int32) Method

Definition

Recurrence model when frequency is set as Daily.

public static Azure.Developer.LoadTesting.DailyRecurrence DailyRecurrence(Azure.Developer.LoadTesting.RecurrenceEnd recurrenceEnd = default, int interval = 0);
static member DailyRecurrence : Azure.Developer.LoadTesting.RecurrenceEnd * int -> Azure.Developer.LoadTesting.DailyRecurrence
Public Shared Function DailyRecurrence (Optional recurrenceEnd As RecurrenceEnd = Nothing, Optional interval As Integer = 0) As DailyRecurrence

Parameters

recurrenceEnd
RecurrenceEnd

Recurrence end model. You can specify the end either by providing a numberOfOccurrences (which will end the recurrence after the specified number of occurrences) or by providing an endDateTime (which will end the recurrence after the specified date). If neither value is provided, the recurrence will continue until it is manually ended. However, if both values are provided, an error will be thrown.

interval
Int32

The interval at which the recurrence should repeat. It signifies the number of days between each recurrence.

Returns

A new DailyRecurrence instance for mocking.

Applies to