InspectionMiddleware 类

定义

注意

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
属性

构造函数

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)

适用于