HealthEvent.LastErrorTransitionAt Property
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.
If the current HealthState is Error, returns the time at which the health report was first reported with Error. For periodic reporting, many reports with the same state may have been generated.
If the current HealthState is Ok or Warning, returns the time at which the health state was last in Error, before transitioning to a different state. If the HealthState has never been Error, the value will be System.DateTime.FromFileTimeUtc(0).
public DateTime LastErrorTransitionAt { get; }
member this.LastErrorTransitionAt : DateTime
Public ReadOnly Property LastErrorTransitionAt As DateTime
Property Value
Returns DateTime representing the last transition time (UTC) involving Error.
Remarks
The transition fields, LastOkTransitionAt, LastWarningTransitionAt, LastErrorTransitionAt give the history of the health state transitions for the event. They can be used for smarter alerts or "historical" health event information. They enable scenarios such as:
Applies to
Azure SDK for .NET