Compartilhar via


QueueProcessor.ReleaseMessageAsync Método

Definição

Libere a mensagem com falha especificada de volta para a fila.

protected virtual System.Threading.Tasks.Task ReleaseMessageAsync (Azure.Storage.Queues.Models.QueueMessage message, Microsoft.Azure.WebJobs.Host.Executors.FunctionResult result, TimeSpan visibilityTimeout, System.Threading.CancellationToken cancellationToken);
abstract member ReleaseMessageAsync : Azure.Storage.Queues.Models.QueueMessage * Microsoft.Azure.WebJobs.Host.Executors.FunctionResult * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ReleaseMessageAsync : Azure.Storage.Queues.Models.QueueMessage * Microsoft.Azure.WebJobs.Host.Executors.FunctionResult * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function ReleaseMessageAsync (message As QueueMessage, result As FunctionResult, visibilityTimeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parâmetros

message
QueueMessage

A mensagem a ser lançada

result
Microsoft.Azure.WebJobs.Host.Executors.FunctionResult

O Microsoft.Azure.WebJobs.Host.Executors.FunctionResult da invocação do trabalho.

visibilityTimeout
TimeSpan

O tempo limite de visibilidade a ser definido para a mensagem.

cancellationToken
CancellationToken

O CancellationToken a ser usado.

Retornos

Aplica-se a