BotFrameworkOptions.State 属性

定义

注意

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

已过时:框架不再使用此属性。

[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)

属性值

属性状态提供程序的列表。

属性

注解

此属性在模式中用于在整个服务配置阶段传播 BotState 实例,但它从未在运行时使用过,并且会停用以减少状态 API 的外围应用。 作为替代方法,请考虑仅使用作用域 BotState 适当的变量和闭包。

适用于