Skip to content

Class EventPublicationResult

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Describes the operator-facing result of one managed event-publication request.

public sealed record EventPublicationResult : IEquatable<EventPublicationResult>

objectEventPublicationResult

IEquatable<EventPublicationResult>

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

EventPublicationResult(string, string, string, string, DateTimeOffset, string?, IReadOnlyDictionary<string, string>)

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

Describes the operator-facing result of one managed event-publication request.

public EventPublicationResult(string PublicationId, string ChannelId, string EventType, string Outcome, DateTimeOffset AcceptedAtUtc, string? Error, IReadOnlyDictionary<string, string> Metadata)

PublicationId string

The stable publication identifier.

ChannelId string

The logical channel or destination identifier.

EventType string

The logical event type identifier.

Outcome string

The stable publication outcome identifier.

AcceptedAtUtc DateTimeOffset

The UTC timestamp when the active runtime accepted the publication.

Error string?

The operator-facing error summary when publication failed.

Metadata IReadOnlyDictionary<string, string>

Optional operator-facing metadata captured with the result.

The UTC timestamp when the active runtime accepted the publication.

public DateTimeOffset AcceptedAtUtc { get; init; }

DateTimeOffset

The logical channel or destination identifier.

public string ChannelId { get; init; }

string

The operator-facing error summary when publication failed.

public string? Error { get; init; }

string?

The logical event type identifier.

public string EventType { get; init; }

string

Optional operator-facing metadata captured with the result.

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

IReadOnlyDictionary<string, string>

The stable publication outcome identifier.

public string Outcome { get; init; }

string

The stable publication identifier.

public string PublicationId { get; init; }

string