LoadTestingModelFactory.RecurrenceEnd Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Recurrence end model. Either provide numberOfOccurrences if you want recurrence to end after a specified number of occurrences or provide endDate if you want recurrence to end after a specified end date. If both values are provided, a validation error will be thrown indicating that only one field should be provided. If neither value is provided, the recurrence will end when manually ended.
public static Azure.Developer.LoadTesting.RecurrenceEnd RecurrenceEnd(int? numberOfOccurrences = default, DateTimeOffset? endDateTime = default);
static member RecurrenceEnd : Nullable<int> * Nullable<DateTimeOffset> -> Azure.Developer.LoadTesting.RecurrenceEnd
Public Shared Function RecurrenceEnd (Optional numberOfOccurrences As Nullable(Of Integer) = Nothing, Optional endDateTime As Nullable(Of DateTimeOffset) = Nothing) As RecurrenceEnd
Parameters
- endDateTime
- Nullable<DateTimeOffset>
The date after which the recurrence will end. (RFC 3339 literal format).
Returns
A new RecurrenceEnd instance for mocking.