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
- 繼承
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| DialogManagerAdapter() |
已淘汰.
初始化 DialogManagerAdapter 類別的新執行個體。 |
欄位
| 名稱 | Description |
|---|---|
| BotIdentityKey |
已淘汰.
機器人身份鍵的字串值。 (繼承來源 BotAdapter) |
| InvokeResponseKey |
已淘汰.
任何 InvokeResponseActivity 在 TurnState 上的關鍵值。 (繼承來源 BotAdapter) |
| OAuthScopeKey |
已淘汰.
OAuth 範圍鍵的字串值。 (繼承來源 BotAdapter) |
屬性
| 名稱 | Description |
|---|---|
| Activities |
已淘汰.
拿到活動清單。 |
| MiddlewareSet |
已淘汰.
取得配接器管線中的中間件集合。 (繼承來源 BotAdapter) |
| OnTurnError |
已淘汰.
取得或設定錯誤處理程式,這個處理程式可以攔截中間件或應用程式中的例外狀況。 (繼承來源 BotAdapter) |
方法
擴充方法
| 名稱 | Description |
|---|---|
| UseBotState(BotAdapter, BotState[]) |
已淘汰.
在轉接器中加入中介軟體,以便在回合上下文中註冊一個或多個 BotState 物件。 中間件會在每次回合開始時,於回合內容上註冊狀態物件。 |
| UseState(BotAdapter, UserState, ConversationState, Boolean) |
已淘汰.
|
| UseStorage(BotAdapter, IStorage) |
已淘汰.
在轉接器中加入中介軟體,以便在回合上下文中註冊 IStorage 物件。 中間件會在每次回合開始時,於回合內容上註冊狀態物件。 |