語言

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

建構函式

名稱 Description
InspectionMiddleware(InspectionState, UserState, ConversationState, MicrosoftAppCredentials, ILogger<InspectionMiddleware>)
已淘汰.

初始化 InspectionMiddleware 類別的新執行個體。

屬性

名稱 Description
Logger
已淘汰.

取得當前物件的記錄器。

(繼承來源 InterceptionMiddleware)

方法

名稱 Description
GetHttpClient()
已淘汰.

取得目前物件的 HTTP 用戶端。

InboundAsync(ITurnContext, Activity, CancellationToken)
已淘汰.

處理入站活動。

OutboundAsync(ITurnContext, IEnumerable<Activity>, CancellationToken)
已淘汰.

處理外發活動。

ProcessCommandAsync(ITurnContext, CancellationToken)
已淘汰.

縮排開啟並附加命令,並呼叫適當的方法。

TraceStateAsync(ITurnContext, CancellationToken)
已淘汰.

處理狀態管理物件。

明確介面實作

名稱 Description
IMiddleware.OnTurnAsync(ITurnContext, NextDelegate, CancellationToken)
已淘汰.

中介軟體來啟用除錯機器人的狀態。

(繼承來源 InterceptionMiddleware)

適用於