Delen via


ChaosScheduleJob Class

Definition

Represents a rule for when and how to run Chaos.

[System.Runtime.Serialization.DataContract]
[System.Serializable]
public sealed class ChaosScheduleJob : System.Fabric.ByteSerializable
[<System.Runtime.Serialization.DataContract>]
[<System.Serializable>]
type ChaosScheduleJob = class
    inherit ByteSerializable
Public NotInheritable Class ChaosScheduleJob
Inherits ByteSerializable
Inheritance
ChaosScheduleJob
Attributes

Constructors

ChaosScheduleJob(String, ChaosScheduleJobActiveDays, List<ChaosScheduleTimeRangeUtc>)

Initializes a new instance of the ChaosScheduleJob class.

Properties

ChaosParameters

Gets the named reference to the ChaosParameters stored in the ChaosSchedule. Automated runs of Chaos defined by this job will run with these parameters.

Days

Gets the ChaosScheduleJobActiveDays for which days this job will automatically start runs of Chaos.

Times

Gets the list of ChaosScheduleTimeRangeUtc representing the time ranges in a day for which this Chaos will be scheduled to run. The time ranges are treated as UTC time.

Methods

FromBytes(Byte[])

This is the default implementation to covert an object back from a byte array

(Inherited from ByteSerializable)
Read(BinaryReader)

Reads the state of this object from byte array.

ToBytes()

This is the default implementation to convert an object into a byte array

(Inherited from ByteSerializable)
ToString()

Gets a string representation of the ChaosStatus object.

Write(BinaryWriter)

Writes the state of this object into a byte array.

Applies to