Class OutboxDispatchPolicyDescriptor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll
Describes the active dispatch-execution policy for one durable outbox surface.
public sealed class OutboxDispatchPolicyDescriptorInheritance
Section titled “Inheritance”object ← OutboxDispatchPolicyDescriptor
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”OutboxDispatchPolicyDescriptor(string, string, string, string, string, string?, IReadOnlyDictionary<string, string>?)
Section titled “ OutboxDispatchPolicyDescriptor(string, string, string, string, string, string?, IReadOnlyDictionary<string, string>?)”Creates a new outbox dispatch-policy descriptor.
public OutboxDispatchPolicyDescriptor(string outboxId, string policyId, string displayName, string description, string executionMode, string? runtimeId = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”outboxId string
The stable outbox identifier that the policy applies to.
policyId string
The stable dispatch-policy identifier.
displayName string
The operator-facing dispatch-policy name.
description string
The human-readable dispatch-policy description.
executionMode string
The execution ownership mode, such as disabled, consumer-managed, or runtime-managed.
runtimeId string?
The optional dispatch-runtime identifier that explicitly owns execution for the outbox when the policy is runtime-managed.
metadata IReadOnlyDictionary<string, string>?
Optional operator-facing metadata associated with the dispatch policy.
Properties
Section titled “Properties”Description
Section titled “ Description”Gets the human-readable dispatch-policy description.
public string Description { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the operator-facing dispatch-policy name.
public string DisplayName { get; }Property Value
Section titled “Property Value”ExecutionMode
Section titled “ ExecutionMode”Gets the execution ownership mode for the outbox.
public string ExecutionMode { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets operator-facing metadata associated with the dispatch policy.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
OutboxId
Section titled “ OutboxId”Gets the stable outbox identifier that the policy applies to.
public string OutboxId { get; }Property Value
Section titled “Property Value”PolicyId
Section titled “ PolicyId”Gets the stable dispatch-policy identifier.
public string PolicyId { get; }Property Value
Section titled “Property Value”RuntimeId
Section titled “ RuntimeId”Gets the optional dispatch-runtime identifier that explicitly owns execution for the outbox.
public string? RuntimeId { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Disabled(string, IReadOnlyDictionary<string, string>?)
Section titled “ Disabled(string, IReadOnlyDictionary<string, string>?)”Creates the default disabled dispatch policy for an outbox.
public static OutboxDispatchPolicyDescriptor Disabled(string outboxId, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”outboxId string
The stable outbox identifier.
metadata IReadOnlyDictionary<string, string>?
Optional operator-facing metadata associated with the policy.
Returns
Section titled “Returns”OutboxDispatchPolicyDescriptor
The default disabled dispatch policy descriptor.
Unsupported(string, string?, IReadOnlyDictionary<string, string>?)
Section titled “ Unsupported(string, string?, IReadOnlyDictionary<string, string>?)”Creates an explicit unsupported dispatch policy for an outbox that can stage messages but does not currently support Cephalon-managed mutable dispatch-state ownership.
public static OutboxDispatchPolicyDescriptor Unsupported(string outboxId, string? description = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”outboxId string
The stable outbox identifier.
description string?
An optional operator-facing description explaining why the current provider intentionally remains outside the managed-dispatch contract.
metadata IReadOnlyDictionary<string, string>?
Optional operator-facing metadata associated with the policy.
Returns
Section titled “Returns”OutboxDispatchPolicyDescriptor
The explicit unsupported dispatch policy descriptor.