Share via


InterceptionMiddleware Class

Definition

Caution

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

Middleware for the interception of activities.

[System.Obsolete("This class is obsolete and will be removed in a future version of the framework.", false)]
public abstract class InterceptionMiddleware : Microsoft.Bot.Builder.IMiddleware
[<System.Obsolete("This class is obsolete and will be removed in a future version of the framework.", false)>]
type InterceptionMiddleware = class
    interface IMiddleware
Public MustInherit Class InterceptionMiddleware
Implements IMiddleware
Inheritance
InterceptionMiddleware
Derived
Attributes
Implements

Properties

Logger

Gets the logger for the current object.

Methods

InboundAsync(ITurnContext, Activity, CancellationToken)

Overriding methods implement processing of inbound activities.

OutboundAsync(ITurnContext, IEnumerable<Activity>, CancellationToken)

Overriding methods implement processing of outbound activities.

TraceStateAsync(ITurnContext, CancellationToken)

Overriding methods implement processing of state management objects.

Explicit Interface Implementations

IMiddleware.OnTurnAsync(ITurnContext, NextDelegate, CancellationToken)

Applies to