InspectionMiddleware 類別

定義

警告

This class is obsolete and will be removed in a future version of the framework.

中介軟體可啟用 Bot 狀態的偵錯。

[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)
已淘汰.

中介軟體可啟用 Bot 狀態的偵錯。

(繼承來源 InterceptionMiddleware)

適用於