Skip to content

Class RuntimeHostedExecutionState

Namespace: Cephalon.Engine.Runtime
Assembly: Cephalon.Engine.dll

Describes the current operator-facing lifecycle state for one hosted execution visible to the runtime.

public sealed record RuntimeHostedExecutionState : IEquatable<RuntimeHostedExecutionState>

objectRuntimeHostedExecutionState

IEquatable<RuntimeHostedExecutionState>

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

RuntimeHostedExecutionState(string, string, string?, string, string?, string, string?, bool, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, string?, DateTimeOffset?)

Section titled “ RuntimeHostedExecutionState(string, string, string?, string, string?, string, string?, bool, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, string?, DateTimeOffset?)”

Describes the current operator-facing lifecycle state for one hosted execution visible to the runtime.

public RuntimeHostedExecutionState(string HostedExecutionId, string DisplayName, string? Description, string SourceModuleId, string? SourceModuleVersion, string Kind, string? ExecutionGraphId, bool StartsWithHost, DateTimeOffset? LoadedAtUtc, DateTimeOffset? ActivatedAtUtc, DateTimeOffset? DeactivatedAtUtc, string? LastObservedPhase, DateTimeOffset? LastObservedAtUtc)

HostedExecutionId string

The stable hosted-execution identifier.

DisplayName string

The operator-facing hosted-execution display name.

Description string?

The operator-facing hosted-execution description when one was published.

SourceModuleId string

The module that contributed the hosted execution.

SourceModuleVersion string?

The effective version of the source module when available.

Kind string

The operator-facing hosted-execution kind.

ExecutionGraphId string?

The related execution-graph identifier when one was declared.

StartsWithHost bool

A value indicating whether the hosted execution is expected to become active when the runtime host starts.

LoadedAtUtc DateTimeOffset?

The UTC timestamp when the hosted execution became visible to the built runtime story.

ActivatedAtUtc DateTimeOffset?

The UTC timestamp when the hosted execution most recently became active with the runtime.

DeactivatedAtUtc DateTimeOffset?

The UTC timestamp when the hosted execution most recently became inactive because the runtime stopped.

LastObservedPhase string?

The last lifecycle phase recorded for the hosted execution.

LastObservedAtUtc DateTimeOffset?

The UTC timestamp when the last lifecycle phase was recorded.

The UTC timestamp when the hosted execution most recently became active with the runtime.

public DateTimeOffset? ActivatedAtUtc { get; init; }

DateTimeOffset?

The UTC timestamp when the hosted execution most recently became inactive because the runtime stopped.

public DateTimeOffset? DeactivatedAtUtc { get; init; }

DateTimeOffset?

The operator-facing hosted-execution description when one was published.

public string? Description { get; init; }

string?

The operator-facing hosted-execution display name.

public string DisplayName { get; init; }

string

The related execution-graph identifier when one was declared.

public string? ExecutionGraphId { get; init; }

string?

The stable hosted-execution identifier.

public string HostedExecutionId { get; init; }

string

Gets a value indicating whether the hosted execution is currently active with the runtime host.

public bool IsActive { get; }

bool

Gets a value indicating whether the hosted execution most recently observed a deactivation event.

public bool IsDeactivated { get; }

bool

Gets a value indicating whether the hosted execution is visible to the runtime story.

public bool IsLoaded { get; }

bool

The operator-facing hosted-execution kind.

public string Kind { get; init; }

string

The UTC timestamp when the last lifecycle phase was recorded.

public DateTimeOffset? LastObservedAtUtc { get; init; }

DateTimeOffset?

The last lifecycle phase recorded for the hosted execution.

public string? LastObservedPhase { get; init; }

string?

The UTC timestamp when the hosted execution became visible to the built runtime story.

public DateTimeOffset? LoadedAtUtc { get; init; }

DateTimeOffset?

The module that contributed the hosted execution.

public string SourceModuleId { get; init; }

string

The effective version of the source module when available.

public string? SourceModuleVersion { get; init; }

string?

A value indicating whether the hosted execution is expected to become active when the runtime host starts.

public bool StartsWithHost { get; init; }

bool