ข้ามไปยังเนื้อหา

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>

objectRuntimeStatusSnapshot

IEquatable<RuntimeStatusSnapshot>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

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)

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.

The UTC timestamp when initialization completed, if it has completed.

public DateTimeOffset? InitializedAtUtc { get; init; }

DateTimeOffset?

The last captured failure, if the runtime has faulted.

public RuntimeFailureInfo? LastFailure { get; init; }

RuntimeFailureInfo?

The number of completed manual restarts.

public int RestartCount { get; init; }

int

The UTC timestamp when startup completed, if it has completed.

public DateTimeOffset? StartedAtUtc { get; init; }

DateTimeOffset?

The current lifecycle status.

public RuntimeStatus Status { get; init; }

RuntimeStatus

The UTC timestamp when the runtime last transitioned to a stopped state, if any.

public DateTimeOffset? StoppedAtUtc { get; init; }

DateTimeOffset?

The UTC timestamp when shutdown most recently entered the stopping phase, if any.

public DateTimeOffset? StoppingAtUtc { get; init; }

DateTimeOffset?