Udostępnij za pośrednictwem


QueueProcessor.CopyMessageToPoisonQueueAsync Method

Definition

Moves the specified message to the poison queue.

protected virtual System.Threading.Tasks.Task CopyMessageToPoisonQueueAsync (Azure.Storage.Queues.Models.QueueMessage message, Azure.Storage.Queues.QueueClient poisonQueue, System.Threading.CancellationToken cancellationToken);
abstract member CopyMessageToPoisonQueueAsync : Azure.Storage.Queues.Models.QueueMessage * Azure.Storage.Queues.QueueClient * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CopyMessageToPoisonQueueAsync : Azure.Storage.Queues.Models.QueueMessage * Azure.Storage.Queues.QueueClient * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function CopyMessageToPoisonQueueAsync (message As QueueMessage, poisonQueue As QueueClient, cancellationToken As CancellationToken) As Task

Parameters

message
QueueMessage

The poison message.

poisonQueue
QueueClient

The poison queue to copy the message to.

cancellationToken
CancellationToken

The CancellationToken to use.

Returns

Applies to