IBotDataStore<T>.LoadAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Enregistrement bot stocké pour cette clé, ou enregistrement bot « vide » prêt à être stocké