Share via


BotState.GetStorageKey(ITurnContext) Method

Definition

When overridden in a derived class, gets the key to use when reading and writing state to and from storage.

protected abstract string GetStorageKey (Microsoft.Bot.Builder.ITurnContext turnContext);
abstract member GetStorageKey : Microsoft.Bot.Builder.ITurnContext -> string
Protected MustOverride Function GetStorageKey (turnContext As ITurnContext) As String

Parameters

turnContext
ITurnContext

The context object for this turn.

Returns

The storage key.

Applies to