Show / Hide Table of Contents

Delegate OnErrorHandlerAsync

Delegate invoked when an error occurs while processing messages.

Namespace: CodersRealm.NmsAmqpClient
Assembly: CodersRealm.NmsAmqpClient.dll
Syntax
public delegate Task OnErrorHandlerAsync(Exception ex, MessageQueueEventArgs e, CancellationToken stoppingToken = default)
Parameters
Type Name Description
Exception ex

The Exception describing the error that occurred.

MessageQueueEventArgs 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