Udostępnij za pośrednictwem


ChaosScheduleJob Constructor

Definition

Initializes a new instance of the ChaosScheduleJob class.

public ChaosScheduleJob (string chaosParameters, System.Fabric.Chaos.DataStructures.ChaosScheduleJobActiveDays days, System.Collections.Generic.List<System.Fabric.Chaos.DataStructures.ChaosScheduleTimeRangeUtc> times);
new System.Fabric.Chaos.DataStructures.ChaosScheduleJob : string * System.Fabric.Chaos.DataStructures.ChaosScheduleJobActiveDays * System.Collections.Generic.List<System.Fabric.Chaos.DataStructures.ChaosScheduleTimeRangeUtc> -> System.Fabric.Chaos.DataStructures.ChaosScheduleJob
Public Sub New (chaosParameters As String, days As ChaosScheduleJobActiveDays, times As List(Of ChaosScheduleTimeRangeUtc))

Parameters

chaosParameters
String

Parameters to run Chaos with.

days
ChaosScheduleJobActiveDays

Which days of the week this job will trigger runs of Chaos.

times
List<ChaosScheduleTimeRangeUtc>

What times of the day Chaos will be running for.

Applies to