Table of Contents

Method RetryAsync

Namespace
MailFathom.Application.Jobs.DeadLetters
Assembly
MailFathom.Application.dll

RetryAsync(JobId, CancellationToken)

Returns one dead letter to the queue, to be run again under the identity it already carries.

public Task<JobRecoveryOutcome> RetryAsync(JobId jobId, CancellationToken cancellationToken)

Parameters

jobId JobId

The job to attempt again.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<JobRecoveryOutcome>

What became of the job, including that it was not one this deployment holds or had already moved on.

Exceptions

PrincipalNotAuthorizedException

Thrown when the use case was reached by anything but a caller granted AdminOperate.

OperationCanceledException

Thrown when the caller cancels.