Show / Hide Table of Contents

Delegate ErrorHandlerAsync

Delegate invoked when an error occurs while processing messages.

Namespace: CodersRealm.AmqpClient
Assembly: CodersRealm.AmqpClient.dll
Syntax
public delegate Task ErrorHandlerAsync(Exception ex, MessageReceivedContext e, CancellationToken stoppingToken)
Parameters
Type Name Description
Exception ex

The Exception describing the error that occurred.

MessageReceivedContext e

Event arguments providing context about the message queue state when the error occurred.

CancellationToken stoppingToken

A cancellation token signals to cancel error handling.

Returns
Type Description
Task

A Task representing the asynchronous error handling operation.

In this article
Back to top Generated by DocFX