Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET200.3 - 200.7
.NET Windows200.3 - 200.7
.NET Android200.3 - 200.7
.NET iOS200.3 - 200.7
.NET Framework200.3 - 200.7
UWP200.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.