Langue

IBotDataStore<T>.LoadAsync Méthode

Définition

Retourner BotData avec Data pointant vers un JObject ou un enregistrement BotData() vide avec ETag :" »

public System.Threading.Tasks.Task<T> LoadAsync(Microsoft.Bot.Builder.Dialogs.IAddress key, Microsoft.Bot.Builder.Dialogs.Internals.BotStoreType botStoreType, System.Threading.CancellationToken cancellationToken);
abstract member LoadAsync : Microsoft.Bot.Builder.Dialogs.IAddress * Microsoft.Bot.Builder.Dialogs.Internals.BotStoreType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
Public Function LoadAsync (key As IAddress, botStoreType As BotStoreType, cancellationToken As CancellationToken) As Task(Of T)

Paramètres

key
IAddress

La clé.

botStoreType
BotStoreType

Le type de boutique de bots.

cancellationToken
CancellationToken

Jeton d’annulation.

Retours

Task<T>

Enregistrement bot stocké pour cette clé, ou enregistrement bot « vide » prêt à être stocké

S’applique à