C# Класс Examples.ClientReconnection.MyReconnectionStrategy

This is a custom reconnection strategy that will try to reconnect to the server up to 3 times and then abort.
Наследование: IReconnectionStrategy
Показать файл Открыть проект

Открытые методы

Метод Описание
PerformReconnection ( IReconnectionAttempt reconnectionAttempt ) : System.Threading.Tasks.Task

Here we put our actual reconnection logic. The async keyword should always be added since it makes things easier for a void return type.

Описание методов

PerformReconnection() публичный Метод

Here we put our actual reconnection logic. The async keyword should always be added since it makes things easier for a void return type.
public PerformReconnection ( IReconnectionAttempt reconnectionAttempt ) : System.Threading.Tasks.Task
reconnectionAttempt IReconnectionAttempt The reconnection attempt wil be given by the session.
Результат System.Threading.Tasks.Task