NATS .NET Client  1.1.4
The NATS.io .NET C# Client
NATS.Client.ReconnectDelayEventArgs Class Reference

Inherits EventArgs.

Properties

int Attempts [get]
 

Detailed Description

Provides details for the ReconnectDelayEvent.

This event handler is a good place to apply backoff logic. The associated connection will be RECONNECTING so accessing or calling IConnection methods will result in undefined behavior (including deadlocks). Assigning a non-default handler requires the application to define reconnect delay and backoff behavior.


The documentation for this class was generated from the following file: