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

Class OutboxDescriptor

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

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

Describes one outbox surface contributed to the active runtime.

public sealed class OutboxDescriptor

objectOutboxDescriptor

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

OutboxDescriptor(string, string, string, string, string, string, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?, OutboxDispatchPolicyDescriptor?)

Section titled “ OutboxDescriptor(string, string, string, string, string, string, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?, OutboxDispatchPolicyDescriptor?)”

Creates a new outbox descriptor.

public OutboxDescriptor(string id, string displayName, string description, string sourceModuleId, string provider, string mode = "transactional-store", IReadOnlyList<string>? channelIds = null, IReadOnlyList<string>? tags = null, IReadOnlyDictionary<string, string>? metadata = null, OutboxDispatchPolicyDescriptor? dispatchPolicy = null)

id string

The stable outbox identifier.

displayName string

The operator-facing outbox name.

description string

The human-readable outbox description.

sourceModuleId string

The module identifier that owns the outbox surface.

provider string

The logical provider identifier that backs the outbox.

mode string

The outbox mode such as transactional-table or append-only-log.

channelIds IReadOnlyList<string>?

Optional channel identifiers that this outbox is explicitly scoped to.

tags IReadOnlyList<string>?

Optional descriptive tags associated with the outbox.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata associated with the outbox.

dispatchPolicy OutboxDispatchPolicyDescriptor?

The optional effective dispatch-execution policy. When omitted, Cephalon defaults the outbox to a disabled dispatch policy.

Gets the optional channel identifiers that this outbox is explicitly scoped to.

public IReadOnlyList<string> ChannelIds { get; }

IReadOnlyList<string>

Gets the human-readable outbox description.

public string Description { get; }

string

Gets the effective dispatch-execution policy for the outbox.

public OutboxDispatchPolicyDescriptor DispatchPolicy { get; }

OutboxDispatchPolicyDescriptor

Gets the operator-facing outbox name.

public string DisplayName { get; }

string

Gets the stable outbox identifier.

public string Id { get; }

string

Gets operator-facing metadata associated with the outbox.

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

IReadOnlyDictionary<string, string>

Gets the outbox mode.

public string Mode { get; }

string

Gets the logical provider identifier that backs the outbox.

public string Provider { get; }

string

Gets the identifier of the module that owns the outbox surface.

public string SourceModuleId { get; }

string

Gets descriptive tags associated with the outbox.

public IReadOnlyList<string> Tags { get; }

IReadOnlyList<string>

WithDispatchPolicy(OutboxDispatchPolicyDescriptor)

Section titled “ WithDispatchPolicy(OutboxDispatchPolicyDescriptor)”

Creates a copy of the outbox descriptor with a different dispatch policy.

public OutboxDescriptor WithDispatchPolicy(OutboxDispatchPolicyDescriptor dispatchPolicy)

dispatchPolicy OutboxDispatchPolicyDescriptor

The effective dispatch policy to apply.

OutboxDescriptor

A new outbox descriptor with the requested dispatch policy.