Class RuntimeFailureInfo
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Engine.Runtime
Assembly: Cephalon.Engine.dll
Describes a runtime lifecycle failure in a way that can be surfaced through diagnostics, status endpoints, and operator tooling.
public sealed record RuntimeFailureInfo : IEquatable<RuntimeFailureInfo>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<RuntimeFailureInfo>
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”RuntimeFailureInfo(string, string?, string?, RuntimeStatus, string, string, DateTimeOffset, bool, DateTimeOffset?, StartupFailureBehavior, StopFailureBehavior)
Section titled “ RuntimeFailureInfo(string, string?, string?, RuntimeStatus, string, string, DateTimeOffset, bool, DateTimeOffset?, StartupFailureBehavior, StopFailureBehavior)”Describes a runtime lifecycle failure in a way that can be surfaced through diagnostics, status endpoints, and operator tooling.
public RuntimeFailureInfo(string Phase, string? ModuleId, string? ModuleVersion, RuntimeStatus StatusBeforeFailure, string ExceptionType, string Message, DateTimeOffset OccurredAtUtc, bool CanRestart, DateTimeOffset? RestartAvailableAtUtc, StartupFailureBehavior StartupFailureBehavior, StopFailureBehavior StopFailureBehavior)Parameters
Section titled “Parameters”Phase string
The lifecycle phase that failed, such as initialize, start, or stop.
ModuleId string?
The module identifier that triggered the failure when available.
ModuleVersion string?
The module version that was active when the failure occurred, if known.
StatusBeforeFailure RuntimeStatus
The runtime status immediately before the failure was captured.
ExceptionType string
The fully qualified exception type that caused the failure.
Message string
The failure message surfaced to operators.
OccurredAtUtc DateTimeOffset
The UTC timestamp when the failure was captured.
CanRestart bool
Whether the current policy allows a manual restart after this failure.
RestartAvailableAtUtc DateTimeOffset?
The UTC timestamp when a manual restart exits its configured backoff window, if one applies.
StartupFailureBehavior StartupFailureBehavior
The startup failure behavior in effect when the failure occurred.
StopFailureBehavior StopFailureBehavior
The stop failure behavior in effect when the failure occurred.
Properties
Section titled “Properties”CanRestart
Section titled “ CanRestart”Whether the current policy allows a manual restart after this failure.
public bool CanRestart { get; init; }Property Value
Section titled “Property Value”ExceptionType
Section titled “ ExceptionType”The fully qualified exception type that caused the failure.
public string ExceptionType { get; init; }Property Value
Section titled “Property Value”Message
Section titled “ Message”The failure message surfaced to operators.
public string Message { get; init; }Property Value
Section titled “Property Value”ModuleId
Section titled “ ModuleId”The module identifier that triggered the failure when available.
public string? ModuleId { get; init; }Property Value
Section titled “Property Value”ModuleVersion
Section titled “ ModuleVersion”The module version that was active when the failure occurred, if known.
public string? ModuleVersion { get; init; }Property Value
Section titled “Property Value”OccurredAtUtc
Section titled “ OccurredAtUtc”The UTC timestamp when the failure was captured.
public DateTimeOffset OccurredAtUtc { get; init; }Property Value
Section titled “Property Value”The lifecycle phase that failed, such as initialize, start, or stop.
public string Phase { get; init; }Property Value
Section titled “Property Value”RestartAvailableAtUtc
Section titled “ RestartAvailableAtUtc”The UTC timestamp when a manual restart exits its configured backoff window, if one applies.
public DateTimeOffset? RestartAvailableAtUtc { get; init; }Property Value
Section titled “Property Value”StartupFailureBehavior
Section titled “ StartupFailureBehavior”The startup failure behavior in effect when the failure occurred.
public StartupFailureBehavior StartupFailureBehavior { get; init; }Property Value
Section titled “Property Value”StatusBeforeFailure
Section titled “ StatusBeforeFailure”The runtime status immediately before the failure was captured.
public RuntimeStatus StatusBeforeFailure { get; init; }Property Value
Section titled “Property Value”StopFailureBehavior
Section titled “ StopFailureBehavior”The stop failure behavior in effect when the failure occurred.
public StopFailureBehavior StopFailureBehavior { get; init; }