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

Class EventDispatchExecutionReport

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

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

Describes one reported dispatch observation for a durable event publication path.

public sealed class EventDispatchExecutionReport

objectEventDispatchExecutionReport

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

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

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

Creates a new dispatch observation report.

public EventDispatchExecutionReport(string outboxId, string channelId, string outcome, DateTimeOffset observedAtUtc, string? messageId = null, int attempt = 1, string? error = null, IReadOnlyDictionary<string, string>? metadata = null)

outboxId string

The stable outbox identifier that owns the dispatch path.

channelId string

The stable channel identifier for the dispatched event.

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 outbound message identifier when available.

attempt int

The dispatch 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.

Gets the dispatch attempt number associated with this observation.

public int Attempt { get; }

int

Gets the stable channel identifier for the dispatched event.

public string ChannelId { get; }

string

Gets the operator-facing error summary when the observation represents a failure.

public string? Error { get; }

string?

Gets the stable outbound message identifier when one was reported.

public string? MessageId { get; }

string?

Gets optional operator-facing metadata captured alongside the observation.

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

IReadOnlyDictionary<string, string>

Gets the UTC timestamp when the observation occurred.

public DateTimeOffset ObservedAtUtc { get; }

DateTimeOffset

Gets the stable outbox identifier that owns the dispatch path.

public string OutboxId { get; }

string

Gets the stable outcome identifier for the observed dispatch activity.

public string Outcome { get; }

string