Share via


ChaosSchedule Class

Definition

Represents a schedule that automates rus of Chaos.

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

Constructors

ChaosSchedule(DateTime, DateTime, Dictionary<String,ChaosParameters>, List<ChaosScheduleJob>)

Initializes a new instance of the ChaosSchedule class.

Fields

AllDaysOfWeek

temp

Properties

ChaosParametersDictionary

Gets the mapping of names to ChaosParameters. The parameters are referenced by name in ChaosScheduleJob.

ExpiryDate

Gets the DateTime representing the date and time at which this schedule will expire and no longer be used for scheduling runs of Chaos.

Jobs

Gets the list of ChaosScheduleJob that define when to run Chaos.

StartDate

Gets the DateTime representing the date and time at which this schedule will start being used for scheduling runs of Chaos.

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 Chaos schedule object.

Write(BinaryWriter)

Writes the state of this object into a byte array.

Applies to