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

Class OutboxDispatchPolicyDescriptor

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

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Describes the active dispatch-execution policy for one durable outbox surface.

public sealed class OutboxDispatchPolicyDescriptor

objectOutboxDispatchPolicyDescriptor

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

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)

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.

Gets the human-readable dispatch-policy description.

public string Description { get; }

string

Gets the operator-facing dispatch-policy name.

public string DisplayName { get; }

string

Gets the execution ownership mode for the outbox.

public string ExecutionMode { get; }

string

Gets operator-facing metadata associated with the dispatch policy.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the stable outbox identifier that the policy applies to.

public string OutboxId { get; }

string

Gets the stable dispatch-policy identifier.

public string PolicyId { get; }

string

Gets the optional dispatch-runtime identifier that explicitly owns execution for the outbox.

public string? RuntimeId { get; }

string?

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)

outboxId string

The stable outbox identifier.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata associated with the policy.

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)

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.

OutboxDispatchPolicyDescriptor

The explicit unsupported dispatch policy descriptor.