Share via


InspectionMiddleware Class

Definition

Caution

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

Middleware to enable debugging the state of a 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
Inheritance
InspectionMiddleware
Attributes

Constructors

InspectionMiddleware(InspectionState, UserState, ConversationState, MicrosoftAppCredentials, ILogger<InspectionMiddleware>)

Initializes a new instance of the InspectionMiddleware class.

Properties

Logger

Gets the logger for the current object.

(Inherited from InterceptionMiddleware)

Methods

GetHttpClient()

Gets the HTTP client for the current object.

InboundAsync(ITurnContext, Activity, CancellationToken)

Processes inbound activities.

OutboundAsync(ITurnContext, IEnumerable<Activity>, CancellationToken)

Processes outbound activities.

ProcessCommandAsync(ITurnContext, CancellationToken)

Indentifies open and attach commands and calls the appropriate method.

TraceStateAsync(ITurnContext, CancellationToken)

Processes the state management object.

Explicit Interface Implementations

IMiddleware.OnTurnAsync(ITurnContext, NextDelegate, CancellationToken) (Inherited from InterceptionMiddleware)

Applies to