Language

Context<TActivity>.State Property

Definition

Gets the per-turn state container with ConversationState and UserState scopes.

public Microsoft.Teams.Apps.State.TurnStateContainer State { get; }
member this.State : Microsoft.Teams.Apps.State.TurnStateContainer
Public ReadOnly Property State As TurnStateContainer

Property Value

Exceptions

Thrown when state management is not configured.

Applies to