Interface IEventSubscriptionRuntimeCatalog
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll
Exposes the latest reported runtime state for declared event subscriptions.
public interface IEventSubscriptionRuntimeCatalogProperties
Section titled “Properties”States
Section titled “ States”Gets the currently known runtime-state entries ordered by subscription identifier.
IReadOnlyList<EventSubscriptionRuntimeState> States { get; }Property Value
Section titled “Property Value”IReadOnlyList<EventSubscriptionRuntimeState>
Methods
Section titled “Methods”GetById(string)
Section titled “ GetById(string)”Looks up one reported runtime-state entry by declared subscription identifier.
EventSubscriptionRuntimeState? GetById(string subscriptionId)Parameters
Section titled “Parameters”subscriptionId string
The stable declared subscription identifier.
Returns
Section titled “Returns”EventSubscriptionRuntimeState?
The current runtime state when one has been reported; otherwise, null.
TryGet(string, out EventSubscriptionRuntimeState?)
Section titled “ TryGet(string, out EventSubscriptionRuntimeState?)”Attempts to look up one reported runtime-state entry by declared subscription identifier.
bool TryGet(string subscriptionId, out EventSubscriptionRuntimeState? state)Parameters
Section titled “Parameters”subscriptionId string
The stable declared subscription identifier.
state EventSubscriptionRuntimeState?
The current runtime state when one has been reported.
Returns
Section titled “Returns”true when one runtime-state entry is available; otherwise, false.