Delen via


BotStateSet.LoadAllAsync(ITurnContext, Boolean, CancellationToken) Methode

Definitie

Laad alle BotState-records parallel.

public System.Threading.Tasks.Task LoadAllAsync(Microsoft.Bot.Builder.ITurnContext turnContext, bool force = false, System.Threading.CancellationToken cancellationToken = default);
member this.LoadAllAsync : Microsoft.Bot.Builder.ITurnContext * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function LoadAllAsync (turnContext As ITurnContext, Optional force As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

turnContext
ITurnContext

context draaien.

force
Boolean

als de gegevens in de cache worden geforceerd.

cancellationToken
CancellationToken

Een annuleringstoken dat kan worden gebruikt door andere objecten of threads om een kennisgeving van annulering te ontvangen.

Retouren

Een taak die het werk vertegenwoordigt dat in de wachtrij staat om uit te voeren.

Van toepassing op