Udostępnij za pośrednictwem


InspectionMiddleware Klasa

Definicja

Przestroga

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

Oprogramowanie pośredniczące umożliwiające debugowanie stanu bota.

[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
Dziedziczenie
InspectionMiddleware
Atrybuty

Konstruktory

InspectionMiddleware(InspectionState, UserState, ConversationState, MicrosoftAppCredentials, ILogger<InspectionMiddleware>)
Przestarzałe.

Inicjuje nowe wystąpienie klasy InspectionMiddleware.

Właściwości

Logger
Przestarzałe.

Pobiera rejestrator dla bieżącego obiektu.

(Odziedziczone po InterceptionMiddleware)

Metody

GetHttpClient()
Przestarzałe.

Pobiera klienta HTTP dla bieżącego obiektu.

InboundAsync(ITurnContext, Activity, CancellationToken)
Przestarzałe.

Przetwarza działania przychodzące.

OutboundAsync(ITurnContext, IEnumerable<Activity>, CancellationToken)
Przestarzałe.

Przetwarza działania wychodzące.

ProcessCommandAsync(ITurnContext, CancellationToken)
Przestarzałe.

Wcięcie otwiera i dołącza polecenia i wywołuje odpowiednią metodę.

TraceStateAsync(ITurnContext, CancellationToken)
Przestarzałe.

Przetwarza obiekt zarządzania stanem.

Jawne implementacje interfejsu

IMiddleware.OnTurnAsync(ITurnContext, NextDelegate, CancellationToken)
Przestarzałe.

Oprogramowanie pośredniczące umożliwiające debugowanie stanu bota.

(Odziedziczone po InterceptionMiddleware)

Dotyczy