Lingua

BotState.GetCachedState(ITurnContext) Metodo

Definizione

Ottiene l'istanza di stato del bot nella cache che avvolge i dati grezzi cacheati dal BotState contesto 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

Parametri

turnContext
ITurnContext

Oggetto di contesto per questo turno.

Valori restituiti

Istanza dello stato del bot memorizzata nella cache.

Eccezioni

turnContext è null.

Si applica a