Share via


AgentApplicationOptions.TurnStateFactory Property

Definition

Optional. Factory used to create a custom turn state instance.

public Microsoft.Agents.Builder.App.TurnStateFactory TurnStateFactory { get; set; }
member this.TurnStateFactory : Microsoft.Agents.Builder.App.TurnStateFactory with get, set
Public Property TurnStateFactory As TurnStateFactory

Property Value

Remarks

Not setting the TurnStateFactory would result in an in-memory TurnState that provides just TempState. This could be appropriate for Agents not needing persisted state. TurnStateFactory

Applies to