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() |
已淘汰.
取得記憶體範圍。 |