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

ChaosScheduleTimeRangeUtc 类

定义

以 UTC 时间表示一天 24 小时的时间范围。

[System.Runtime.Serialization.DataContract]
[System.Serializable]
public sealed class ChaosScheduleTimeRangeUtc : System.Fabric.ByteSerializable
[<System.Runtime.Serialization.DataContract>]
[<System.Serializable>]
type ChaosScheduleTimeRangeUtc = class
    inherit ByteSerializable
Public NotInheritable Class ChaosScheduleTimeRangeUtc
Inherits ByteSerializable
继承
ChaosScheduleTimeRangeUtc
属性

构造函数

ChaosScheduleTimeRangeUtc(ChaosScheduleTimeUtc, ChaosScheduleTimeUtc)

使用提供的开始和结束时间初始化 类的新实例 ChaosScheduleTimeRangeUtc

字段

WholeDay

一个 ChaosScheduleTimeRangeUtc 表示全天的 。

属性

EndTime

获取表示 ChaosScheduleTimeUtc 由 定义的混沌运行一天的 UTC 结束时间的 ChaosScheduleJob

StartTime

获取表示 ChaosScheduleTimeUtc 由 定义的混沌运行的当天 UTC 开始时间的 ChaosScheduleJob

方法

FromBytes(Byte[])

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

(继承自 ByteSerializable)
Read(BinaryReader)

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

ToBytes()

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

(继承自 ByteSerializable)
ToString()

获取 ChaosScheduleTimeRangeUtc 对象的字符串表示形式。

Write(BinaryWriter)

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

适用于