Class EventSubscriptionExecutionContext
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll
Describes the host-agnostic execution context delivered to a managed event-subscription executor.
public sealed class EventSubscriptionExecutionContextInheritance
Section titled “Inheritance”object ← EventSubscriptionExecutionContext
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”EventSubscriptionExecutionContext(EventSubscriptionDescriptor, EventPublication, int, IReadOnlyDictionary<string, string>?)
Section titled “ EventSubscriptionExecutionContext(EventSubscriptionDescriptor, EventPublication, int, IReadOnlyDictionary<string, string>?)”Creates a new managed event-subscription execution context.
public EventSubscriptionExecutionContext(EventSubscriptionDescriptor subscription, EventPublication publication, int attempt = 1, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”subscription EventSubscriptionDescriptor
The declared subscription that is being executed.
publication EventPublication
The staged publication being delivered to the subscription.
attempt int
The current managed execution attempt.
metadata IReadOnlyDictionary<string, string>?
Optional operator-facing metadata associated with the current execution attempt.
Properties
Section titled “Properties”Attempt
Section titled “ Attempt”Gets the current managed execution attempt number.
public int Attempt { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets operator-facing metadata associated with the current execution attempt.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Publication
Section titled “ Publication”Gets the staged publication being delivered to the managed subscription.
public EventPublication Publication { get; }Property Value
Section titled “Property Value”Subscription
Section titled “ Subscription”Gets the declared subscription that is currently being executed.
public EventSubscriptionDescriptor Subscription { get; }