Delen via


IComponentMemoryScopes Interface

Definitie

Waarschuwing

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.

Definieert de interface geheugenbereiken voor onderdelen voor het inventariseren van geheugenbereiken.

[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
Afgeleid
Kenmerken

Methoden

GetMemoryScopes()
Verouderd.

Hiermee haalt u de geheugenbereiken op.

Van toepassing op