Show / Hide Table of Contents

Property Handler

Handler

Gets or sets the System.Net.Http.HttpMessageHandler that will service this request.

Declaration
[Obsolete("Setting Handler per-message is deprecated. Use HttpConfigurationExtensions to change the default handler, or set an IHttpMessageInterceptor that implements custom handling for individual messages.")]
public HttpMessageHandler Handler { get; set; }
Property Value
Type Description
System.Net.Http.HttpMessageHandler

The System.Net.Http.HttpMessageHandler that will service this request.

Remarks

By default this is an instance of ArcGISHttpMessageHandler. Be careful when changing properties of the default handler, since it might be used for multiple requests.

Exceptions
Type Condition
System.ArgumentNullException

value is null

See Also
IHttpMessageInterceptor
HttpConfigurationExtensions

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.3 - 200.8
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.3 - 200.8
In This Article
Back to top Copyright © 2022 Esri.