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 IEventDispatchRuntimeCatalogProperties
Section titled “Properties”States
Section titled “ States”Gets the reported dispatch state entries visible to the current runtime.
IReadOnlyList<EventDispatchRuntimeState> States { get; }Property Value
Section titled “Property Value”IReadOnlyList<EventDispatchRuntimeState>
Methods
Section titled “Methods”GetByOutboxId(string)
Section titled “ GetByOutboxId(string)”Gets the latest reported dispatch state for one outbox-backed publication path.
EventDispatchRuntimeState? GetByOutboxId(string outboxId)Parameters
Section titled “Parameters”outboxId string
The stable outbox identifier to resolve.
Returns
Section titled “Returns”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)Parameters
Section titled “Parameters”outboxId string
The stable outbox identifier to resolve.
state EventDispatchRuntimeState?
Receives the latest reported state when the path has reported one.