Show / Hide Table of Contents

Method SetConnectionFailed

SetConnectionFailed(Exception, Boolean)

Handles the error when the connection fails and may attempt to reconnect.

Declaration
protected void SetConnectionFailed(Exception error, bool reconnect)
Parameters
Type Name Description
System.Exception error

The error that was encountered causing the conneciton to fail.

System.Boolean reconnect

Indicates whether reconnection should be attempted.

Remarks

Use this method when an established connection is interrupted. Pass the exception that caused the connection to fail and a flag that indicates whether to attempt reconnection.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.8
.NET200.3 - 200.8
.NET Windows200.3 - 200.8
.NET Android200.3 - 200.8
.NET iOS200.3 - 200.8
.NET Framework200.3 - 200.8
UWP200.3 - 200.8
In This Article
Back to top Copyright © 2022 Esri.