InterceptionMiddleware 类

定义

注意

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

用于截获活动的中间件。

[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
继承
InterceptionMiddleware
派生
属性
实现

属性

Logger
已过时.

获取当前 对象的记录器。

方法

InboundAsync(ITurnContext, Activity, CancellationToken)
已过时.

重写方法实现入站活动的处理。

OutboundAsync(ITurnContext, IEnumerable<Activity>, CancellationToken)
已过时.

重写方法实现出站活动的处理。

TraceStateAsync(ITurnContext, CancellationToken)
已过时.

重写方法实现状态管理对象的处理。

显式接口实现

IMiddleware.OnTurnAsync(ITurnContext, NextDelegate, CancellationToken)
已过时.

用于截获活动的中间件。

适用于