OutboxManagerMarkAsBadMessageAsync - метод

Marks the message as erroneous and, if the retries threshold is exceeded, deletes the message.

Definition

Пространство имён: Tessa.Extensions.Default.Server.Plugins.Notices
Сборка: Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public Task MarkAsBadMessageAsync(
	Guid id,
	int attemptNum,
	string? exceptionMessage,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Message identifier.
attemptNum  Int32
Current attempt number.
exceptionMessage  String
Error message.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

Task
Represents an asynchronous operation.

Реализации

IOutboxManagerMarkAsBadMessageAsync(Guid, Int32, String, CancellationToken)

См. также