Class RuntimeLifecycleEvent
Namespace: Cephalon.Engine.Runtime
Assembly: Cephalon.Engine.dll
Captures one operator-facing lifecycle event in the runtime story timeline.
public sealed record RuntimeLifecycleEvent : IEquatable<RuntimeLifecycleEvent>Inheritance
Section titled “Inheritance”object ← RuntimeLifecycleEvent
Implements
Section titled “Implements”IEquatable<RuntimeLifecycleEvent>
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”RuntimeLifecycleEvent(DateTimeOffset, RuntimeLifecycleEventScope, string, RuntimeLifecycleEventOutcome, RuntimeStatus, string?, string?, string, string?)
Section titled “ RuntimeLifecycleEvent(DateTimeOffset, RuntimeLifecycleEventScope, string, RuntimeLifecycleEventOutcome, RuntimeStatus, string?, string?, string, string?)”Captures one operator-facing lifecycle event in the runtime story timeline.
public RuntimeLifecycleEvent(DateTimeOffset OccurredAtUtc, RuntimeLifecycleEventScope Scope, string Phase, RuntimeLifecycleEventOutcome Outcome, RuntimeStatus RuntimeStatus, string? SubjectId, string? SubjectVersion, string Message, string? ExceptionType)Parameters
Section titled “Parameters”OccurredAtUtc DateTimeOffset
The UTC timestamp when the event was recorded.
Scope RuntimeLifecycleEventScope
The runtime surface that emitted the event.
Phase string
The lifecycle phase or story phase, such as load, initialize, start, stop, or restart.
Outcome RuntimeLifecycleEventOutcome
The completion outcome for the event.
RuntimeStatus RuntimeStatus
The runtime status visible when the event was recorded.
SubjectId string?
The runtime, module, package, execution-graph, or hosted-execution identifier associated with the event when available.
SubjectVersion string?
The version associated with the event subject when available.
Message string
The operator-facing narrative for the event.
ExceptionType string?
The exception type captured for failed events when available.
Properties
Section titled “Properties”ExceptionType
Section titled “ ExceptionType”The exception type captured for failed events when available.
public string? ExceptionType { get; init; }Property Value
Section titled “Property Value”Message
Section titled “ Message”The operator-facing narrative for the event.
public string Message { get; init; }Property Value
Section titled “Property Value”OccurredAtUtc
Section titled “ OccurredAtUtc”The UTC timestamp when the event was recorded.
public DateTimeOffset OccurredAtUtc { get; init; }Property Value
Section titled “Property Value”Outcome
Section titled “ Outcome”The completion outcome for the event.
public RuntimeLifecycleEventOutcome Outcome { get; init; }Property Value
Section titled “Property Value”The lifecycle phase or story phase, such as load, initialize, start, stop, or restart.
public string Phase { get; init; }Property Value
Section titled “Property Value”RuntimeStatus
Section titled “ RuntimeStatus”The runtime status visible when the event was recorded.
public RuntimeStatus RuntimeStatus { get; init; }Property Value
Section titled “Property Value”The runtime surface that emitted the event.
public RuntimeLifecycleEventScope Scope { get; init; }Property Value
Section titled “Property Value”SubjectId
Section titled “ SubjectId”The runtime, module, package, execution-graph, or hosted-execution identifier associated with the event when available.
public string? SubjectId { get; init; }Property Value
Section titled “Property Value”SubjectVersion
Section titled “ SubjectVersion”The version associated with the event subject when available.
public string? SubjectVersion { get; init; }