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() |
قديم.
الحصول على نطاقات الذاكرة. |