IComponentMemoryScopes 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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() |
已过时.
获取内存范围。 |