Show / Hide Table of Contents

Class ArcGISWebException

ArcGISWebException thrown by ArcGISHttpMessageHandler when an ArcGIS Server returns an error.

Inheritance
object
Exception
ArcGISWebException
Implements
ISerializable
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.ReferenceEquals(object, object)
Namespace: Esri.ArcGISRuntime.Http
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Obsolete("ArcGISHttpMessageHandler no longer throws generic ArcGISWebExceptions for failed requests. Errors returned by ArcGIS Server are now reported as ArcGISServerException, and authentication issues as specific ArcGISRuntimeExceptions (such as TokenRequiredException).")]
public sealed class ArcGISWebException : Exception, ISerializable

Properties

Name Description
Code

Gets the error code.

Details

Gets the error details.

Response

Gets the response that the remote host returned.

See Also

ArcGISServerException
InvalidCredentialsException
TokenRequiredException
TokenExpiredException
InvalidTokenException
InvalidApiKeyException
UnableToDetermineTokenUrlException
OAuthException
CredentialCannotBeSharedException

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

Relevant samples

Find service area: Find the service area within a network from a given point.
Trace utility network: Discover connected features in a utility network using connected, subnetwork, upstream, and downstream traces.
In this article
Provide feedback
Back to top Copyright © 2025 Esri.