AgentApplicationOptions.TurnStateFactory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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