你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ChaosSchedule 类

定义

表示自动执行 Chaos rus 的计划。

[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
继承
ChaosSchedule
属性

构造函数

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

初始化 ChaosSchedule 类的新实例。

字段

AllDaysOfWeek

temp

属性

ChaosParametersDictionary

获取名称到 ChaosParameters的映射。 参数在 中 ChaosScheduleJob按名称引用。

ExpiryDate

获取表示 DateTime 此计划到期且不再用于计划 Chaos 运行的日期和时间的 。

Jobs

获取定义何时运行 Chaos 的列表 ChaosScheduleJob

StartDate

获取表示 DateTime 此计划开始用于计划 Chaos 运行的日期和时间的 。

方法

FromBytes(Byte[])

这是从字节数组中掩盖对象的默认实现

(继承自 ByteSerializable)
Read(BinaryReader)

从字节数组中读取此对象的状态。

ToBytes()

这是将对象转换为字节数组的默认实现

(继承自 ByteSerializable)
ToString()

获取 Chaos 计划对象的字符串表示形式。

Write(BinaryWriter)

将此 对象的状态写入字节数组。

适用于