다음을 통해 공유


IComponentMemoryScopes 인터페이스

정의

주의

Bot components should create subclass Microsoft.Bot.Builder.BotComponent and use the provided IServiceCollection to register a custom memory scope. Example: services.AddSingleton<MemoryScope, MyCustomMemoryScope>(). In composer scenarios, the Startup method will be called automatically.

메모리 범위를 열거하기 위한 구성 요소 메모리 범위 인터페이스를 정의합니다.

[System.Obsolete("Bot components should create subclass `Microsoft.Bot.Builder.BotComponent` and use the provided `IServiceCollection` to register a custom memory scope. Example: `services.AddSingleton<MemoryScope, MyCustomMemoryScope>()`. In composer scenarios, the Startup method will be called automatically.")]
public interface IComponentMemoryScopes
[<System.Obsolete("Bot components should create subclass `Microsoft.Bot.Builder.BotComponent` and use the provided `IServiceCollection` to register a custom memory scope. Example: `services.AddSingleton<MemoryScope, MyCustomMemoryScope>()`. In composer scenarios, the Startup method will be called automatically.")>]
type IComponentMemoryScopes = interface
Public Interface IComponentMemoryScopes
파생
특성

메서드

GetMemoryScopes()
사용되지 않음.

메모리 범위를 가져옵니다.

적용 대상