DialogManagerAdapter 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This class is not used anymore
表示一个可以将对话管理器连接到服务端点的对话管理器适配器。
[System.Obsolete("This class is not used anymore", true)]
public class DialogManagerAdapter : Microsoft.Bot.Builder.BotAdapter
[<System.Obsolete("This class is not used anymore", true)>]
type DialogManagerAdapter = class
inherit BotAdapter
Public Class DialogManagerAdapter
Inherits BotAdapter
- 继承
- 属性
构造函数
| 名称 | 说明 |
|---|---|
| DialogManagerAdapter() |
已过时.
初始化 DialogManagerAdapter 类的新实例。 |
字段
| 名称 | 说明 |
|---|---|
| BotIdentityKey |
已过时.
机器人身份密钥的字符串值。 (继承自 BotAdapter) |
| InvokeResponseKey |
已过时.
任何 InvokeResponseActivity 在 TurnState 上的关键值。 (继承自 BotAdapter) |
| OAuthScopeKey |
已过时.
OAuth 范围键的字符串值。 (继承自 BotAdapter) |
属性
| 名称 | 说明 |
|---|---|
| Activities |
已过时.
拿到活动清单。 |
| MiddlewareSet |
已过时.
获取适配器管道中中间件的集合。 (继承自 BotAdapter) |
| OnTurnError |
已过时.
获取或设置一个错误处理程序,该处理程序可以捕获中间件或应用程序中的异常。 (继承自 BotAdapter) |
方法
扩展方法
| 名称 | 说明 |
|---|---|
| UseBotState(BotAdapter, BotState[]) |
已过时.
在适配器中添加中间件,用于在回合上下文中注册一个或多个 BotState 对象。 中间件在每个轮次开始时在轮次上下文上注册状态对象。 |
| UseState(BotAdapter, UserState, ConversationState, Boolean) |
已过时.
|
| UseStorage(BotAdapter, IStorage) |
已过时.
向适配器添加中间件,用于在回合上下文中注册 IStorage 对象。 中间件在每个轮次开始时在轮次上下文上注册状态对象。 |