語言

MemoryTranscriptStore 類別

定義

記憶體文字記錄存放區會將文字記錄儲存在字典中的揮發性記憶體中。

public class MemoryTranscriptStore : Microsoft.Bot.Builder.ITranscriptStore
type MemoryTranscriptStore = class
    interface ITranscriptStore
    interface ITranscriptLogger
Public Class MemoryTranscriptStore
Implements ITranscriptStore
繼承
MemoryTranscriptStore
實作

備註

由於這會使用未系結的揮發性字典,因此應該只用於單元測試或非生產環境。

建構函式

名稱 Description
MemoryTranscriptStore()

記憶體文字記錄存放區會將文字記錄儲存在字典中的揮發性記憶體中。

方法

名稱 Description
DeleteTranscriptAsync(String, String)

從存放區刪除交談數據。

GetTranscriptActivitiesAsync(String, String, String, DateTimeOffset)

從符合一組準則的存放區活動取得。

ListTranscriptsAsync(String, String)

從商店拿到一頁頻道的對話頁面。

LogActivityAsync(IActivity)

將活動記錄至文字記錄。

適用於