IRetryPolicy Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An abstraction that controls when the client attempts to reconnect and how many times it does so.
public interface class IRetryPolicy
public interface IRetryPolicy
type IRetryPolicy = interface
Public Interface IRetryPolicy
Methods
NextRetryDelay(RetryContext) |
If passed to WithAutomaticReconnect(IHubConnectionBuilder, IRetryPolicy), this will be called after the transport loses a connection to determine if and for how long to wait before the next reconnect attempt. |