InspectionMiddleware 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This class is obsolete and will be removed in a future version of the framework.
中间件用于调试机器人状态。
[System.Obsolete("This class is obsolete and will be removed in a future version of the framework.", false)]
public class InspectionMiddleware : Microsoft.Bot.Builder.InterceptionMiddleware
[<System.Obsolete("This class is obsolete and will be removed in a future version of the framework.", false)>]
type InspectionMiddleware = class
inherit InterceptionMiddleware
Public Class InspectionMiddleware
Inherits InterceptionMiddleware
- 继承
- 属性
构造函数
| 名称 | 说明 |
|---|---|
| InspectionMiddleware(InspectionState, UserState, ConversationState, MicrosoftAppCredentials, ILogger<InspectionMiddleware>) |
已过时.
初始化 InspectionMiddleware 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Logger |
已过时.
获取当前对象的日志记录器。 (继承自 InterceptionMiddleware) |
方法
| 名称 | 说明 |
|---|---|
| GetHttpClient() |
已过时.
获取当前对象的HTTP客户端。 |
| InboundAsync(ITurnContext, Activity, CancellationToken) |
已过时.
处理入站活动。 |
| OutboundAsync(ITurnContext, IEnumerable<Activity>, CancellationToken) |
已过时.
处理出境活动。 |
| ProcessCommandAsync(ITurnContext, CancellationToken) |
已过时.
缩进打开并附加命令并调用相应的方法。 |
| TraceStateAsync(ITurnContext, CancellationToken) |
已过时.
处理状态管理对象。 |
显式接口实现
| 名称 | 说明 |
|---|---|
| IMiddleware.OnTurnAsync(ITurnContext, NextDelegate, CancellationToken) |
已过时.
中间件用于调试机器人状态。 (继承自 InterceptionMiddleware) |