Show / Hide Table of Contents

Delegate OnMessageReceivedHandlerAsync

Delegate invoked when a message is received from the message queue.

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

Event arguments containing the received message and related metadata.

CancellationToken stoppingToken

A cancellation token that can be used to cancel processing.

Returns
Type Description
Task

A Task representing the asynchronous operation.

In this article
Back to top Generated by DocFX