Share via


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)

将活动记录到脚本中。

适用于