Compartilhar via


QueueClient.OnMessageDecodingFailedAsync Método

Definição

MessageDecodingFailed Gera o evento .

protected virtual System.Threading.Tasks.Task OnMessageDecodingFailedAsync (Azure.Storage.Queues.Models.QueueMessage receivedMessage, Azure.Storage.Queues.Models.PeekedMessage peekedMessage, bool isRunningSynchronously, System.Threading.CancellationToken cancellationToken);
abstract member OnMessageDecodingFailedAsync : Azure.Storage.Queues.Models.QueueMessage * Azure.Storage.Queues.Models.PeekedMessage * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnMessageDecodingFailedAsync : Azure.Storage.Queues.Models.QueueMessage * Azure.Storage.Queues.Models.PeekedMessage * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function OnMessageDecodingFailedAsync (receivedMessage As QueueMessage, peekedMessage As PeekedMessage, isRunningSynchronously As Boolean, cancellationToken As CancellationToken) As Task

Parâmetros

receivedMessage
QueueMessage

O QueueMessage com corpo bruto, se presente.

peekedMessage
PeekedMessage

O PeekedMessage com corpo bruto, se presente.

isRunningSynchronously
Boolean

Um valor que indica se o manipulador de eventos foi invocado de forma síncrona ou assíncrona.

cancellationToken
CancellationToken

Token de cancelamento.

Retornos

Aplica-se a