次の方法で共有


DialogClassMemoryScope クラス

定義

DialogMemoryScope は、"dialogclass" -> dc.Parent.ActiveDialog プロパティをマップします。

public class DialogClassMemoryScope : Microsoft.Bot.Builder.Dialogs.Memory.Scopes.MemoryScope
type DialogClassMemoryScope = class
    inherit MemoryScope
Public Class DialogClassMemoryScope
Inherits MemoryScope
継承
DialogClassMemoryScope

コンストラクター

DialogClassMemoryScope()

DialogClassMemoryScope クラスの新しいインスタンスを初期化します。

プロパティ

IncludeInSnapshot

このメモリをスナップショットに含めるかどうかを示す値を取得または設定します。

(継承元 MemoryScope)
Name

スコープの名前を取得または設定します。

(継承元 MemoryScope)

メソッド

DeleteAsync(DialogContext, CancellationToken)

ストレージ内の状態と、この BotStateのキャッシュを削除します。

(継承元 MemoryScope)
GetMemory(DialogContext)

このスコープのバッキング メモリを取得します。

LoadAsync(DialogContext, Boolean, CancellationToken)

ストレージ レイヤーから、この BotState 状態キャッシュを設定します。

(継承元 MemoryScope)
SaveChangesAsync(DialogContext, Boolean, CancellationToken)

この BotState 状態キャッシュをストレージ レイヤーに書き込みます。

(継承元 MemoryScope)
SetMemory(DialogContext, Object)

メモリ スコープのバッキング オブジェクトを変更します。

適用対象