ICreatable<T>.CreateAsync(CancellationToken, Boolean) Method

Definition

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

public System.Threading.Tasks.Task<T> CreateAsync (System.Threading.CancellationToken cancellationToken = null, bool multiThreaded = true);
abstract member CreateAsync : System.Threading.CancellationToken * bool -> System.Threading.Tasks.Task<'T>

Parameters

cancellationToken
CancellationToken

cancellationToken the cancellation token

multiThreaded
Boolean

multiThreaded use mutli-threading

Returns

Task<T>

a handle to cancel the request

Applies to