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

HealthEvent.LastErrorTransitionAt 属性

定义

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

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

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

属性值

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

注解

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

适用于