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>Inheritance
Section titled “Inheritance”object ← EventSubscriptionRuntimeState
Implements
Section titled “Implements”IEquatable<EventSubscriptionRuntimeState>
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”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”FailedCount
Section titled “ FailedCount”The number of failed observations reported so far.
public int FailedCount { get; init; }Property Value
Section titled “Property Value”LastAttempt
Section titled “ LastAttempt”The last reported application-managed attempt number.
public int LastAttempt { get; init; }Property Value
Section titled “Property Value”LastError
Section titled “ LastError”The last operator-facing error summary when a failure was reported.
public string? LastError { get; init; }Property Value
Section titled “Property Value”LastMessageId
Section titled “ LastMessageId”The last stable inbound message identifier when one was reported.
public string? LastMessageId { get; init; }Property Value
Section titled “Property Value”LastObservedAtUtc
Section titled “ LastObservedAtUtc”The UTC timestamp when the last observation was reported.
public DateTimeOffset? LastObservedAtUtc { get; init; }Property Value
Section titled “Property Value”LastOutcome
Section titled “ LastOutcome”The last reported outcome identifier when one exists.
public string? LastOutcome { get; init; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”The operator-facing metadata captured by the latest report.
public IReadOnlyDictionary<string, string> Metadata { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
RetryPending
Section titled “ RetryPending”Gets a value indicating whether the latest report says another retry attempt is pending.
public bool RetryPending { get; }Property Value
Section titled “Property Value”RetryScheduledCount
Section titled “ RetryScheduledCount”The number of retry-scheduled observations reported so far.
public int RetryScheduledCount { get; init; }Property Value
Section titled “Property Value”SkippedCount
Section titled “ SkippedCount”The number of skipped observations reported so far.
public int SkippedCount { get; init; }Property Value
Section titled “Property Value”StartedCount
Section titled “ StartedCount”The number of started observations reported so far.
public int StartedCount { get; init; }Property Value
Section titled “Property Value”SubscriptionId
Section titled “ SubscriptionId”The stable declared subscription identifier.
public string SubscriptionId { get; init; }Property Value
Section titled “Property Value”SucceededCount
Section titled “ SucceededCount”The number of succeeded observations reported so far.
public int SucceededCount { get; init; }Property Value
Section titled “Property Value”TotalReports
Section titled “ TotalReports”Gets the total number of observations reported for this subscription.
public int TotalReports { get; }