Interface IEventSubscriptionExecutor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll
Executes one declared event subscription through a pack-owned managed runtime.
public interface IEventSubscriptionExecutorProperties
Section titled “Properties”SubscriptionId
Section titled “ SubscriptionId”Gets the stable declared subscription identifier owned by this executor.
string SubscriptionId { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”ExecuteAsync(EventSubscriptionExecutionContext, CancellationToken)
Section titled “ ExecuteAsync(EventSubscriptionExecutionContext, CancellationToken)”Executes the managed subscription against the supplied publication context.
ValueTask ExecuteAsync(EventSubscriptionExecutionContext context, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”context EventSubscriptionExecutionContext
The host-agnostic execution context for the current subscription attempt.
cancellationToken CancellationToken
The cancellation token for the current execution attempt.
Returns
Section titled “Returns”A task that completes when the managed subscription attempt finishes.