Share via


ChaosScheduleDescription Class

Definition

Represents a versioned ChaosSchedule. The version of a schedule is a number that gets updated when the schedule is updated.

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

Constructors

ChaosScheduleDescription(Int32, ChaosSchedule)

Initializes a new instance of the ChaosScheduleDescription class with a provided schedule and version.

Properties

Version

Gets the version number of the ChaosSchedule.

.

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 description object.

Write(BinaryWriter)

Writes the state of this object into a byte array.

Applies to