DialogManagerAdapter 类

定义

注意

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()
已过时.

初始化 DialogManagerAdapter 类的新实例。

字段

BotIdentityKey
已过时.

机器人标识密钥的字符串值。

(继承自 BotAdapter)
InvokeResponseKey
已过时.

将位于 TurnState 上的任何 InvokeResponseActivity 的键值。

(继承自 BotAdapter)
OAuthScopeKey
已过时.

OAuth 范围密钥的字符串值。

(继承自 BotAdapter)

属性

Activities
已过时.

获取活动列表。

MiddlewareSet
已过时.

获取适配器管道中的中间件集合。

(继承自 BotAdapter)
OnTurnError
已过时.

获取或设置一个错误处理程序,该处理程序可以捕获中间件或应用程序中的异常。

(继承自 BotAdapter)

方法

ContinueConversationAsync(ClaimsIdentity, Activity, BotCallbackHandler, CancellationToken)
已过时.

向对话发送主动消息。

(继承自 BotAdapter)
ContinueConversationAsync(ClaimsIdentity, Activity, String, BotCallbackHandler, CancellationToken)
已过时.

向对话发送主动消息。

(继承自 BotAdapter)
ContinueConversationAsync(ClaimsIdentity, ConversationReference, BotCallbackHandler, CancellationToken)
已过时.

向对话发送主动消息。

(继承自 BotAdapter)
ContinueConversationAsync(ClaimsIdentity, ConversationReference, String, BotCallbackHandler, CancellationToken)
已过时.

向对话发送主动消息。

(继承自 BotAdapter)
ContinueConversationAsync(String, Activity, BotCallbackHandler, CancellationToken)
已过时.

向对话发送主动消息。

(继承自 BotAdapter)
ContinueConversationAsync(String, ConversationReference, BotCallbackHandler, CancellationToken)
已过时.

向对话发送主动消息。

(继承自 BotAdapter)
CreateConversationAsync(String, String, String, String, ConversationParameters, BotCallbackHandler, CancellationToken)
已过时.

在指定通道上创建对话。

(继承自 BotAdapter)
DeleteActivityAsync(ITurnContext, ConversationReference, CancellationToken)
已过时.

在派生类中重写时,删除会话中的现有活动。

ProcessActivityAsync(ClaimsIdentity, Activity, BotCallbackHandler, CancellationToken)
已过时.

创建轮次上下文并为传入的 TRUSTED 活动运行中间件管道。

(继承自 BotAdapter)
RunPipelineAsync(ITurnContext, BotCallbackHandler, CancellationToken)
已过时.

启动当前机器人轮次的活动处理。

(继承自 BotAdapter)
SendActivitiesAsync(ITurnContext, Activity[], CancellationToken)
已过时.

在派生类中重写时,将活动发送到会话。

UpdateActivityAsync(ITurnContext, Activity, CancellationToken)
已过时.

在派生类中重写时,将替换会话中的现有活动。

Use(IMiddleware)
已过时.

将中间件添加到适配器的管道。

(继承自 BotAdapter)

扩展方法

UseBotState(BotAdapter, BotState[])
已过时.

将中间件添加到适配器,以在轮次上下文中注册一个或多个 BotState 对象。 中间件在每个轮次开始时在轮次上下文中注册状态对象。

UseState(BotAdapter, UserState, ConversationState, Boolean)
已过时.

向适配器注册用户和会话状态对象。 这些对象将通过轮次上下文的 TurnState.Get<T>() 方法提供。

UseStorage(BotAdapter, IStorage)
已过时.

将中间件添加到适配器,以在轮次上下文中注册对象 IStorage 。 中间件在每个轮次开始时在轮次上下文中注册状态对象。

适用于