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>Inheritance
Section titled “Inheritance”object ← EventPublicationResult
Implements
Section titled “Implements”IEquatable<EventPublicationResult>
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”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”AcceptedAtUtc
Section titled “ AcceptedAtUtc”The UTC timestamp when the active runtime accepted the publication.
public DateTimeOffset AcceptedAtUtc { get; init; }Property Value
Section titled “Property Value”ChannelId
Section titled “ ChannelId”The logical channel or destination identifier.
public string ChannelId { get; init; }Property Value
Section titled “Property Value”The operator-facing error summary when publication failed.
public string? Error { get; init; }Property Value
Section titled “Property Value”EventType
Section titled “ EventType”The logical event type identifier.
public string EventType { get; init; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Optional operator-facing metadata captured with the result.
public IReadOnlyDictionary<string, string> Metadata { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Outcome
Section titled “ Outcome”The stable publication outcome identifier.
public string Outcome { get; init; }Property Value
Section titled “Property Value”PublicationId
Section titled “ PublicationId”The stable publication identifier.
public string PublicationId { get; init; }