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

Interface IEventDispatchRuntimeCatalog

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

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

Exposes the operator-facing dispatch runtime state currently reported for durable event publication paths.

public interface IEventDispatchRuntimeCatalog

Gets the reported dispatch state entries visible to the current runtime.

IReadOnlyList<EventDispatchRuntimeState> States { get; }

IReadOnlyList<EventDispatchRuntimeState>

Gets the latest reported dispatch state for one outbox-backed publication path.

EventDispatchRuntimeState? GetByOutboxId(string outboxId)

outboxId string

The stable outbox identifier to resolve.

EventDispatchRuntimeState?

The latest reported state, or null when that path has not reported runtime state.

TryGet(string, out EventDispatchRuntimeState?)

Section titled “ TryGet(string, out EventDispatchRuntimeState?)”

Tries to get the latest reported dispatch state for one outbox-backed publication path.

bool TryGet(string outboxId, out EventDispatchRuntimeState? state)

outboxId string

The stable outbox identifier to resolve.

state EventDispatchRuntimeState?

Receives the latest reported state when the path has reported one.

bool

true when a reported state exists; otherwise, false.