Delen via


ChaosScheduleJobActiveDays Class

Definition

Represents which days of the week the ChaosScheduleJob is active for.

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

Constructors

ChaosScheduleJobActiveDays()

Initializes a new instance of the ChaosScheduleJobActiveDays class with all days set to false.

ChaosScheduleJobActiveDays(ChaosScheduleJobActiveDays)

Initializes a new instance of the ChaosScheduleJobActiveDays class by copying another set of active days.

ChaosScheduleJobActiveDays(HashSet<DayOfWeek>)

Initializes a new instance of the ChaosScheduleJobActiveDays class with all days set to false.

Properties

Friday

Gets the value of whether or not a ChaosScheduleJob will be active on Friday.

Monday

Gets the value of whether or not a ChaosScheduleJob will be active on Monday.

Saturday

Gets the value of whether or not a ChaosScheduleJob will be active on Saturday.

Sunday

Gets the value of whether or not a ChaosScheduleJob will be active on Sunday.

Thursday

Gets the value of whether or not a ChaosScheduleJob will be active on Thursday.

Tuesday

Gets the value of whether or not a ChaosScheduleJob will be active on Tuesday.

Wednesday

Gets the value of whether or not a ChaosScheduleJob will be active on Wednesday.

Methods

FromBytes(Byte[])

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

(Inherited from ByteSerializable)
GetDayValueByEnum(DayOfWeek)

Get value of a day using the matching DayOfWeek enum.

NoActiveDays()

Determine if there are no days active.

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

Write(BinaryWriter)

Writes the state of this object into a byte array.

Applies to