BotState.GetCachedState(ITurnContext) 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.
Obtient l’instance d’état du bot mise en cache qui enveloppe les données brutes en cache depuis BotState le contexte du turn.
public Microsoft.Bot.Builder.BotState.CachedBotState GetCachedState(Microsoft.Bot.Builder.ITurnContext turnContext);
member this.GetCachedState : Microsoft.Bot.Builder.ITurnContext -> Microsoft.Bot.Builder.BotState.CachedBotState
Public Function GetCachedState (turnContext As ITurnContext) As BotState.CachedBotState
Paramètres
- turnContext
- ITurnContext
Objet de contexte pour ce tour.
Retours
Instance d’état du bot mis en cache.
Exceptions
turnContext a la valeur null.