Table of Contents

Class Acknowledgeable

Namespace
Savvyio.Messaging
Assembly
Savvyio.Messaging.dll

Provides a default implementation of the IAcknowledgeable interface.

public abstract record Acknowledgeable : IAcknowledgeable, IEquatable<Acknowledgeable>
Inheritance
object
Acknowledgeable
Implements
Derived

Constructors

Acknowledgeable()

Initializes a new instance of the Acknowledgeable class.

protected Acknowledgeable()

Properties

Properties

Share state between components during message processing.

public IDictionary<string, object> Properties { get; }

Property Value

IDictionary<string, object>

The state between components during message processing.

Methods

AcknowledgeAsync()

Acknowledges that this message was processed successfully.

public Task AcknowledgeAsync()

Returns

Task

A task that represents the asynchronous operation.

OnAcknowledgedAsync(AcknowledgedEventArgs)

Raises the Acknowledged event.

protected virtual Task OnAcknowledgedAsync(AcknowledgedEventArgs e)

Parameters

e AcknowledgedEventArgs

The AcknowledgedEventArgs instance containing the event data.

Returns

Task

Events

Acknowledged

Occurs when the method AcknowledgeAsync() is called.

public event AsyncEventHandler<AcknowledgedEventArgs> Acknowledged

Event Type

AsyncEventHandler<AcknowledgedEventArgs>