Class EventSubscriptionExecutionReport
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll
Describes one application-managed execution observation for a declared event subscription.
public sealed class EventSubscriptionExecutionReportInheritance
Section titled “Inheritance”object ← EventSubscriptionExecutionReport
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”EventSubscriptionExecutionReport(string, string, DateTimeOffset, string?, int, string?, IReadOnlyDictionary<string, string>?)
Section titled “ EventSubscriptionExecutionReport(string, string, DateTimeOffset, string?, int, string?, IReadOnlyDictionary<string, string>?)”Creates a new execution report for a declared event subscription.
public EventSubscriptionExecutionReport(string subscriptionId, string outcome, DateTimeOffset observedAtUtc, string? messageId = null, int attempt = 1, string? error = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”subscriptionId string
The stable declared subscription identifier.
outcome string
The stable outcome identifier, such as started or retry-scheduled.
observedAtUtc DateTimeOffset
The UTC timestamp when the observation occurred.
messageId string?
The stable inbound message identifier when available.
attempt int
The application-managed attempt number for this observation.
error string?
The operator-facing error summary when the observation represents a failure.
metadata IReadOnlyDictionary<string, string>?
Optional operator-facing metadata captured alongside the observation.
Properties
Section titled “Properties”Attempt
Section titled “ Attempt”Gets the application-managed attempt number associated with this observation.
public int Attempt { get; }Property Value
Section titled “Property Value”Gets the operator-facing error summary when the observation represents a failure.
public string? Error { get; }Property Value
Section titled “Property Value”MessageId
Section titled “ MessageId”Gets the stable inbound message identifier when one was reported.
public string? MessageId { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional operator-facing metadata captured alongside the observation.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
ObservedAtUtc
Section titled “ ObservedAtUtc”Gets the UTC timestamp when the observation occurred.
public DateTimeOffset ObservedAtUtc { get; }Property Value
Section titled “Property Value”Outcome
Section titled “ Outcome”Gets the stable outcome identifier for the observed subscription activity.
public string Outcome { get; }Property Value
Section titled “Property Value”SubscriptionId
Section titled “ SubscriptionId”Gets the stable declared subscription identifier.
public string SubscriptionId { get; }