BotFrameworkOptions.State 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.
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.