InspectionMiddleware Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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) |