Skip to content

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>

objectRuntimeLifecycleEvent

IEquatable<RuntimeLifecycleEvent>

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

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)

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.

The exception type captured for failed events when available.

public string? ExceptionType { get; init; }

string?

The operator-facing narrative for the event.

public string Message { get; init; }

string

The UTC timestamp when the event was recorded.

public DateTimeOffset OccurredAtUtc { get; init; }

DateTimeOffset

The completion outcome for the event.

public RuntimeLifecycleEventOutcome Outcome { get; init; }

RuntimeLifecycleEventOutcome

The lifecycle phase or story phase, such as load, initialize, start, stop, or restart.

public string Phase { get; init; }

string

The runtime status visible when the event was recorded.

public RuntimeStatus RuntimeStatus { get; init; }

RuntimeStatus

The runtime surface that emitted the event.

public RuntimeLifecycleEventScope Scope { get; init; }

RuntimeLifecycleEventScope

The runtime, module, package, execution-graph, or hosted-execution identifier associated with the event when available.

public string? SubjectId { get; init; }

string?

The version associated with the event subject when available.

public string? SubjectVersion { get; init; }

string?