Share via


SettingsMemoryScope.SetMemory(DialogContext, Object) Method

Definition

Changes the backing object for the memory scope.

public override void SetMemory (Microsoft.Bot.Builder.Dialogs.DialogContext dc, object memory);
override this.SetMemory : Microsoft.Bot.Builder.Dialogs.DialogContext * obj -> unit
Public Overrides Sub SetMemory (dc As DialogContext, memory As Object)

Parameters

dc
DialogContext

The DialogContext object for this turn.

memory
Object

Memory object to set for the scope.

Remarks

Method not supported. You cannot set the memory for a readonly memory scope.

Applies to