Property MaximumReconnectionAttempts
MaximumReconnectionAttempts
Gets or sets the maximum number of attempts to reconnect after a connection fails.
Declaration
public int MaximumReconnectionAttempts { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The maximum number of attempts to reconnect after a connection fails. |
Remarks
This property informs the data source to attempt reconnection if a connection is lost. When a connection fails, the data source attempts to reconnect the specified number of times waiting ReconnectionInterval between attempts.
If reconnection fails on the final attempt, ConnectionStatus is set to Failed and the ConnectionError is set to the platform specific connection error.
The default value is 12. The first 2 connection attempts are made without waiting the specified ReconnectionInterval between attempts.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |