Interface IReconnectionAttempt
A single reconnection attempt that can either be started or aborted.
Namespace: PushTechnology.ClientInterface.Client.Session.Reconnection
Assembly: Diffusion.Client.dll
Syntax
public interface IReconnectionAttempt
Methods
Abort()
Aborts the reconnection attempt.
Declaration
void Abort()
Remarks
This method will always throw a System.InvalidOperationException to indicate that the reconnection
attempt has been aborted. If you implement a custom IReconnectionStrategy, do not catch this
exception. If for some reason you need catch the exception, ensure it is rethrown. Otherwise the
reconnection attempt will not be aborted successfully.
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | The reconnection attempt has been aborted. |
Start()
Starts the reconnection attempt.
Declaration
void Start()