InspectionMiddleware Class

Definition

Middleware to enable debugging the state of a bot.

public class InspectionMiddleware : Microsoft.Bot.Builder.InterceptionMiddleware
type InspectionMiddleware = class
    inherit InterceptionMiddleware
Public Class InspectionMiddleware
Inherits InterceptionMiddleware
Inheritance
InspectionMiddleware

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