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 |
|
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.3 - 200.8 |
| Xamarin.Android | 100.3 - 100.15 |
| Xamarin.iOS | 100.3 - 100.15 |
| UWP | 100.3 - 200.8 |