Show / Hide Table of Contents

Method SendAsync

SendAsync(HttpRequestMessage, Threading.CancellationToken)

Creates an instance of HttpResponseMessage based on the information provided in the System.Net.Http.HttpRequestMessage as an operation that will not block.

Declaration
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, Threading.CancellationToken cancellationToken)
Parameters
Type Name Description
HttpRequestMessage request

The HTTP request message.

System.Threading.CancellationToken cancellationToken

A cancellation token to cancel the operation.

Returns
Type Description
Task<HttpResponseMessage>

The task object representing the asynchronous operation.

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.