ChaosScheduleJobActiveDays Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Azure SDK for .NET