Class RuntimeStatusSnapshot
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Engine.Runtime
Assembly: Cephalon.Engine.dll
Captures the current runtime lifecycle state in a serialization-friendly form.
public sealed record RuntimeStatusSnapshot : IEquatable<RuntimeStatusSnapshot>Inheritance
Section titled “Inheritance”object ← RuntimeStatusSnapshot
Implements
Section titled “Implements”IEquatable<RuntimeStatusSnapshot>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”RuntimeStatusSnapshot(RuntimeStatus, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, int, RuntimeFailureInfo?)
Section titled “ RuntimeStatusSnapshot(RuntimeStatus, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, int, RuntimeFailureInfo?)”Captures the current runtime lifecycle state in a serialization-friendly form.
public RuntimeStatusSnapshot(RuntimeStatus Status, DateTimeOffset? InitializedAtUtc, DateTimeOffset? StartedAtUtc, DateTimeOffset? StoppingAtUtc, DateTimeOffset? StoppedAtUtc, int RestartCount, RuntimeFailureInfo? LastFailure)Parameters
Section titled “Parameters”Status RuntimeStatus
The current lifecycle status.
InitializedAtUtc DateTimeOffset?
The UTC timestamp when initialization completed, if it has completed.
StartedAtUtc DateTimeOffset?
The UTC timestamp when startup completed, if it has completed.
StoppingAtUtc DateTimeOffset?
The UTC timestamp when shutdown most recently entered the stopping phase, if any.
StoppedAtUtc DateTimeOffset?
The UTC timestamp when the runtime last transitioned to a stopped state, if any.
RestartCount int
The number of completed manual restarts.
LastFailure RuntimeFailureInfo?
The last captured failure, if the runtime has faulted.
Properties
Section titled “Properties”InitializedAtUtc
Section titled “ InitializedAtUtc”The UTC timestamp when initialization completed, if it has completed.
public DateTimeOffset? InitializedAtUtc { get; init; }Property Value
Section titled “Property Value”LastFailure
Section titled “ LastFailure”The last captured failure, if the runtime has faulted.
public RuntimeFailureInfo? LastFailure { get; init; }Property Value
Section titled “Property Value”RestartCount
Section titled “ RestartCount”The number of completed manual restarts.
public int RestartCount { get; init; }Property Value
Section titled “Property Value”StartedAtUtc
Section titled “ StartedAtUtc”The UTC timestamp when startup completed, if it has completed.
public DateTimeOffset? StartedAtUtc { get; init; }Property Value
Section titled “Property Value”Status
Section titled “ Status”The current lifecycle status.
public RuntimeStatus Status { get; init; }Property Value
Section titled “Property Value”StoppedAtUtc
Section titled “ StoppedAtUtc”The UTC timestamp when the runtime last transitioned to a stopped state, if any.
public DateTimeOffset? StoppedAtUtc { get; init; }Property Value
Section titled “Property Value”StoppingAtUtc
Section titled “ StoppingAtUtc”The UTC timestamp when shutdown most recently entered the stopping phase, if any.
public DateTimeOffset? StoppingAtUtc { get; init; }