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

Interface IOutbox

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

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

Stages messages for durable delivery after the current write-side operation completes.

public interface IOutbox

Gets the stable outbox identifier owned by this implementation.

string OutboxId { get; }

string

EnqueueAsync(OutboxMessage, CancellationToken)

Section titled “ EnqueueAsync(OutboxMessage, CancellationToken)”

Enqueues one message for later delivery.

ValueTask EnqueueAsync(OutboxMessage message, CancellationToken cancellationToken = default)

message OutboxMessage

The message to stage for later delivery.

cancellationToken CancellationToken

The token that cancels the operation.

ValueTask

A task that completes when the message has been persisted to the outbox.