ข้ามไปยังเนื้อหา

Class EventSubscriptionRuntimeState

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll

Describes the latest operator-facing runtime state reported for one declared event subscription.

public sealed record EventSubscriptionRuntimeState : IEquatable<EventSubscriptionRuntimeState>

objectEventSubscriptionRuntimeState

IEquatable<EventSubscriptionRuntimeState>

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

EventSubscriptionRuntimeState(string, string?, DateTimeOffset?, string?, int, int, int, int, int, int, string?, IReadOnlyDictionary<string, string>)

Section titled “ EventSubscriptionRuntimeState(string, string?, DateTimeOffset?, string?, int, int, int, int, int, int, string?, IReadOnlyDictionary<string, string>)”

Describes the latest operator-facing runtime state reported for one declared event subscription.

public EventSubscriptionRuntimeState(string SubscriptionId, string? LastOutcome, DateTimeOffset? LastObservedAtUtc, string? LastMessageId, int LastAttempt, int StartedCount, int SucceededCount, int FailedCount, int RetryScheduledCount, int SkippedCount, string? LastError, IReadOnlyDictionary<string, string> Metadata)

SubscriptionId string

The stable declared subscription identifier.

LastOutcome string?

The last reported outcome identifier when one exists.

LastObservedAtUtc DateTimeOffset?

The UTC timestamp when the last observation was reported.

LastMessageId string?

The last stable inbound message identifier when one was reported.

LastAttempt int

The last reported application-managed attempt number.

StartedCount int

The number of started observations reported so far.

SucceededCount int

The number of succeeded observations reported so far.

FailedCount int

The number of failed observations reported so far.

RetryScheduledCount int

The number of retry-scheduled observations reported so far.

SkippedCount int

The number of skipped observations reported so far.

LastError string?

The last operator-facing error summary when a failure was reported.

Metadata IReadOnlyDictionary<string, string>

The operator-facing metadata captured by the latest report.

The number of failed observations reported so far.

public int FailedCount { get; init; }

int

The last reported application-managed attempt number.

public int LastAttempt { get; init; }

int

The last operator-facing error summary when a failure was reported.

public string? LastError { get; init; }

string?

The last stable inbound message identifier when one was reported.

public string? LastMessageId { get; init; }

string?

The UTC timestamp when the last observation was reported.

public DateTimeOffset? LastObservedAtUtc { get; init; }

DateTimeOffset?

The last reported outcome identifier when one exists.

public string? LastOutcome { get; init; }

string?

The operator-facing metadata captured by the latest report.

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

IReadOnlyDictionary<string, string>

Gets a value indicating whether the latest report says another retry attempt is pending.

public bool RetryPending { get; }

bool

The number of retry-scheduled observations reported so far.

public int RetryScheduledCount { get; init; }

int

The number of skipped observations reported so far.

public int SkippedCount { get; init; }

int

The number of started observations reported so far.

public int StartedCount { get; init; }

int

The stable declared subscription identifier.

public string SubscriptionId { get; init; }

string

The number of succeeded observations reported so far.

public int SucceededCount { get; init; }

int

Gets the total number of observations reported for this subscription.

public int TotalReports { get; }

int