语言

SkypeMentionNormalizeMiddleware 类

定义

注意

You should use NormalizeMentionsMiddleware instead of this class.

用于修补 Skype 中的实体的中间件,因为它们不符合预期值。 如果使用提及,与 Skype 交互的机器人应使用此中间件。

[System.Obsolete("You should use NormalizeMentionsMiddleware instead of this class.")]
public class SkypeMentionNormalizeMiddleware : Microsoft.Bot.Builder.IMiddleware
[<System.Obsolete("You should use NormalizeMentionsMiddleware instead of this class.")>]
type SkypeMentionNormalizeMiddleware = class
    interface IMiddleware
Public Class SkypeMentionNormalizeMiddleware
Implements IMiddleware
继承
SkypeMentionNormalizeMiddleware
属性
实现

构造函数

名称 说明
SkypeMentionNormalizeMiddleware()
已过时.

初始化 SkypeMentionNormalizeMiddleware 类的新实例。

方法

名称 说明
NormalizeSkypMentionText(Activity)
已过时.

执行 Skype 提及实体的规范化。

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

中间件实现,将 Enity.Mention.Text 修正为 RemoveMentionText 可操作的值。

适用于