다음을 통해 공유


SettingsMemoryScope 클래스

정의

SettingsMemoryscope는 "settings" -> IConfiguration을 매핑합니다.

public class SettingsMemoryScope : Microsoft.Bot.Builder.Dialogs.Memory.Scopes.MemoryScope
type SettingsMemoryScope = class
    inherit MemoryScope
Public Class SettingsMemoryScope
Inherits MemoryScope
상속
SettingsMemoryScope

생성자

SettingsMemoryScope(IConfiguration)

SettingsMemoryScope 클래스의 새 인스턴스를 초기화합니다.

속성

IncludeInSnapshot

이 메모리를 스냅샷에 포함할지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 MemoryScope)
Name

범위의 이름을 가져오거나 설정합니다.

(다음에서 상속됨 MemoryScope)

메서드

DeleteAsync(DialogContext, CancellationToken)

스토리지의 모든 상태와 이 BotState에 대한 캐시를 삭제합니다.

(다음에서 상속됨 MemoryScope)
GetMemory(DialogContext)

이 범위에 대한 지원 메모리를 가져옵니다.

LoadAsync(DialogContext, Boolean, CancellationToken)

스토리지 계층에서 이에 BotState 대한 상태 캐시를 채웁니다.

LoadSettings(IConfiguration)

구성 공급자의 사전 보기를 빌드합니다.

SaveChangesAsync(DialogContext, Boolean, CancellationToken)

이에 BotState 대한 상태 캐시를 스토리지 계층에 씁니다.

(다음에서 상속됨 MemoryScope)
SetMemory(DialogContext, Object)

메모리 범위에 대한 지원 개체를 변경합니다.

적용 대상