次の方法で共有


ThisMemoryScope クラス

定義

DialogMemoryScope は"this" -> dc.ActiveDialog.State をマップします。

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

コンストラクター

ThisMemoryScope()

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

プロパティ

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)

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

適用対象