Skip to content

Class SagaChoreographyPublicationRuntimeState

Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll

Describes the latest operator-facing runtime state reported for one live saga-choreography publication path.

public sealed record SagaChoreographyPublicationRuntimeState : IEquatable<SagaChoreographyPublicationRuntimeState>

objectSagaChoreographyPublicationRuntimeState

IEquatable<SagaChoreographyPublicationRuntimeState>

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

SagaChoreographyPublicationRuntimeState(string, string, string, string, string, DateTimeOffset, string?, IReadOnlyList<string>, string?, string?, string?, bool, string?, DateTimeOffset?, string?, int, int, string?, IReadOnlyDictionary<string, string>)

Section titled “ SagaChoreographyPublicationRuntimeState(string, string, string, string, string, DateTimeOffset, string?, IReadOnlyList<string>, string?, string?, string?, bool, string?, DateTimeOffset?, string?, int, int, string?, IReadOnlyDictionary<string, string>)”

Describes the latest operator-facing runtime state reported for one live saga-choreography publication path.

public SagaChoreographyPublicationRuntimeState(string Id, string BehaviorId, string PublicationId, string ChannelId, string EventType, DateTimeOffset OccurredAtUtc, string? SourceModuleId, IReadOnlyList<string> TransportIds, string? CorrelationId, string? TenantId, string? ContentType, bool IsCompensation, string? LastOutcome, DateTimeOffset? LastObservedAtUtc, string? LastPublisherType, int AcceptedCount, int FailedCount, string? LastError, IReadOnlyDictionary<string, string> Metadata)

Id string

The stable runtime-state identifier for this observed choreography publication path.

BehaviorId string

The stable choreography behavior identifier that produced the publication.

PublicationId string

The stable publication identifier declared by the choreography step.

ChannelId string

The logical channel or destination identifier used by the publication.

EventType string

The logical event type identifier used by the publication.

OccurredAtUtc DateTimeOffset

The UTC timestamp carried by the observed publication itself.

SourceModuleId string?

The owning module identifier when one is known at runtime.

TransportIds IReadOnlyList<string>

The transport identifiers that expose the owning choreography behavior.

CorrelationId string?

The correlation identifier associated with the publication when one exists.

TenantId string?

The tenant identifier associated with the publication when one exists.

ContentType string?

The payload content type when one is known.

IsCompensation bool

Indicates whether the publication represents compensation work.

LastOutcome string?

The last reported publication outcome identifier when one exists.

LastObservedAtUtc DateTimeOffset?

The UTC timestamp when the latest publication observation was reported.

LastPublisherType string?

The last concrete publisher implementation type that accepted or rejected the publication when one was reported.

AcceptedCount int

The number of accepted observations reported so far.

FailedCount int

The number of failed observations reported so far.

LastError string?

The latest operator-facing error summary when the publication handoff reported a failure.

Metadata IReadOnlyDictionary<string, string>

The operator-facing metadata captured by the latest observation.

The number of accepted observations reported so far.

public int AcceptedCount { get; init; }

int

The stable choreography behavior identifier that produced the publication.

public string BehaviorId { get; init; }

string

The logical channel or destination identifier used by the publication.

public string ChannelId { get; init; }

string

The payload content type when one is known.

public string? ContentType { get; init; }

string?

The correlation identifier associated with the publication when one exists.

public string? CorrelationId { get; init; }

string?

The logical event type identifier used by the publication.

public string EventType { get; init; }

string

The number of failed observations reported so far.

public int FailedCount { get; init; }

int

The stable runtime-state identifier for this observed choreography publication path.

public string Id { get; init; }

string

Gets a value indicating whether the latest report says the publication handoff succeeded.

public bool IsAccepted { get; }

bool

Indicates whether the publication represents compensation work.

public bool IsCompensation { get; init; }

bool

Gets a value indicating whether the latest report says the publication handoff failed.

public bool IsFailed { get; }

bool

The latest operator-facing error summary when the publication handoff reported a failure.

public string? LastError { get; init; }

string?

The UTC timestamp when the latest publication observation was reported.

public DateTimeOffset? LastObservedAtUtc { get; init; }

DateTimeOffset?

The last reported publication outcome identifier when one exists.

public string? LastOutcome { get; init; }

string?

The last concrete publisher implementation type that accepted or rejected the publication when one was reported.

public string? LastPublisherType { get; init; }

string?

The operator-facing metadata captured by the latest observation.

public IReadOnlyDictionary<string, string> Metadata { get; init; }

IReadOnlyDictionary<string, string>

The UTC timestamp carried by the observed publication itself.

public DateTimeOffset OccurredAtUtc { get; init; }

DateTimeOffset

The stable publication identifier declared by the choreography step.

public string PublicationId { get; init; }

string

The owning module identifier when one is known at runtime.

public string? SourceModuleId { get; init; }

string?

The tenant identifier associated with the publication when one exists.

public string? TenantId { get; init; }

string?

Gets the total number of publication observations reported for this runtime-state entry.

public int TotalReports { get; }

int

The transport identifiers that expose the owning choreography behavior.

public IReadOnlyList<string> TransportIds { get; init; }

IReadOnlyList<string>