MemoryTranscriptStore 类

定义

内存脚本存储将脚本存储在字典中的易失性内存中。

public class MemoryTranscriptStore : Microsoft.Bot.Builder.ITranscriptStore
type MemoryTranscriptStore = class
    interface ITranscriptStore
    interface ITranscriptLogger
Public Class MemoryTranscriptStore
Implements ITranscriptStore
继承
MemoryTranscriptStore
实现

注解

由于它使用未绑定的易失性字典,因此应仅用于单元测试或非生产环境。

构造函数

名称 说明
MemoryTranscriptStore()

内存脚本存储将脚本存储在字典中的易失性内存中。

方法

名称 说明
DeleteTranscriptAsync(String, String)

从存储中删除聊天数据。

GetTranscriptActivitiesAsync(String, String, String, DateTimeOffset)

从与一组条件匹配的存储活动中获取。

ListTranscriptsAsync(String, String)

从商店获得一个频道的对话页面。

LogActivityAsync(IActivity)

将活动记录到脚本。

适用于