QueueProcessor.ReleaseMessageAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Release the specified failed message back to the queue.
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
Parameters
- message
- QueueMessage
The message to release
- result
- Microsoft.Azure.WebJobs.Host.Executors.FunctionResult
The Microsoft.Azure.WebJobs.Host.Executors.FunctionResult from the job invocation.
- visibilityTimeout
- TimeSpan
The visibility timeout to set for the message.
- cancellationToken
- CancellationToken
The CancellationToken to use.
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET