MemoryScope(String, Boolean) 构造函数

定义

初始化 MemoryScope 类的新实例。

public MemoryScope (string name, bool includeInSnapshot = true);
new Microsoft.Bot.Builder.Dialogs.Memory.Scopes.MemoryScope : string * bool -> Microsoft.Bot.Builder.Dialogs.Memory.Scopes.MemoryScope
Public Sub New (name As String, Optional includeInSnapshot As Boolean = true)

参数

name
String

范围的名称。

includeInSnapshot
Boolean

Boolean 指示快照中是否应包含此内存的值。 默认值为 true。

适用于