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

Interface IEventSubscriptionExecutor

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

Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll

Executes one declared event subscription through a pack-owned managed runtime.

public interface IEventSubscriptionExecutor

Gets the stable declared subscription identifier owned by this executor.

string SubscriptionId { get; }

string

ExecuteAsync(EventSubscriptionExecutionContext, CancellationToken)

Section titled “ ExecuteAsync(EventSubscriptionExecutionContext, CancellationToken)”

Executes the managed subscription against the supplied publication context.

ValueTask ExecuteAsync(EventSubscriptionExecutionContext context, CancellationToken cancellationToken = default)

context EventSubscriptionExecutionContext

The host-agnostic execution context for the current subscription attempt.

cancellationToken CancellationToken

The cancellation token for the current execution attempt.

ValueTask

A task that completes when the managed subscription attempt finishes.