ICreatable<T>.CreateAsync(CancellationToken, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = default, bool multiThreaded = true);
abstract member CreateAsync : System.Threading.CancellationToken * bool -> System.Threading.Tasks.Task<'T>
Public Function CreateAsync (Optional cancellationToken As CancellationToken = Nothing, Optional multiThreaded As Boolean = true) As Task(Of 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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET