BotFrameworkOptions.State Property

Definition

Caution

This property is no longer used by the framework. Please see documentation for more details.

OBSOLETE: This property is no longer used by the framework.

[System.Obsolete("This property is no longer used by the framework. Please see documentation for more details.")]
public System.Collections.Generic.IList<Microsoft.Bot.Builder.BotState> State { get; }
[<System.Obsolete("This property is no longer used by the framework. Please see documentation for more details.")>]
member this.State : System.Collections.Generic.IList<Microsoft.Bot.Builder.BotState>
Public ReadOnly Property State As IList(Of BotState)

Property Value

The list of property state providers.

Attributes

Remarks

This property was used in a pattern to propagate BotState instances throughout the service configuration phase, but it was never used at runtime and is being retired to reduce the surface area of state APIs. As an alternative, consider simply using an appropriately scoped BotState variable along with closures.

Applies to