Skip to content

Class EventSubscriptionExecutionReport

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

Describes one application-managed execution observation for a declared event subscription.

public sealed class EventSubscriptionExecutionReport

objectEventSubscriptionExecutionReport

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

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)

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.

Gets the application-managed attempt number associated with this observation.

public int Attempt { get; }

int

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

public string? Error { get; }

string?

Gets the stable inbound 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 outcome identifier for the observed subscription activity.

public string Outcome { get; }

string

Gets the stable declared subscription identifier.

public string SubscriptionId { get; }

string