Język

InspectionMiddleware Klasa

Definicja

Uwaga

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

Middleware 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

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

Inicjuje nowe wystąpienie klasy InspectionMiddleware.

Właściwości

Nazwa Opis
Logger
Przestarzałe.

Otrzymuje logger dla bieżącego obiektu.

(Odziedziczone po InterceptionMiddleware)

Metody

Nazwa Opis
GetHttpClient()
Przestarzałe.

Otrzymuje 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.

Identyfikuje polecenia otwierania i dołączania oraz wywołuje odpowiednią metodę.

TraceStateAsync(ITurnContext, CancellationToken)
Przestarzałe.

Przetwarza obiekt zarządzania stanem.

Jawne implementacje interfejsu

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

Middleware umożliwiające debugowanie stanu bota.

(Odziedziczone po InterceptionMiddleware)

Dotyczy