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

HealthEvent.LastOkTransitionAt 属性

定义

如果当前 HealthStateOk,则返回首次使用 Ok报告运行状况报告的时间。 对于定期报告,可能已生成许多具有相同状态的报告。

如果当前 HealthStateErrorWarning,则返回在 转换为其他状态之前,运行状况状态在 中最后 Ok一次的时间。 HealthState如果 从未为 Ok,则值为 System.DateTime.FromFileTimeUtc (0) 。

public DateTime LastOkTransitionAt { get; }
member this.LastOkTransitionAt : DateTime
Public ReadOnly Property LastOkTransitionAt As DateTime

属性值

返回表示 DateTime 最后一次转换时间 (UTC) 涉及 Ok

注解

转换字段 LastOkTransitionAtLastWarningTransitionAt提供 LastErrorTransitionAt 事件的运行状况状态转换历史记录。 它们可用于更智能的警报或“历史”运行状况事件信息。 适用的情景如下:

适用于