ServiceCollectionExtensions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.
一套扩展方法IServiceCollection,支持使用 .NET Core 托管机器人。
[System.Obsolete("Use `CloudAdapter` with `ConfigurationBotFrameworkAuthentication` instead to configure bot runtime.", false)]
public static class ServiceCollectionExtensions
[<System.Obsolete("Use `CloudAdapter` with `ConfigurationBotFrameworkAuthentication` instead to configure bot runtime.", false)>]
type ServiceCollectionExtensions = class
Public Module ServiceCollectionExtensions
- 继承
-
ServiceCollectionExtensions
- 属性
方法
| 名称 | 说明 |
|---|---|
| AddBot<TBot>(IServiceCollection, Action<BotFrameworkOptions>) |
已过时.
添加并可选配置a |
| AddBot<TBot>(IServiceCollection, Func<IServiceProvider,TBot>, Action<BotFrameworkOptions>) |
已过时.
添加并可选配置a |
| AddBot<TBot>(IServiceCollection, TBot, Action<BotFrameworkOptions>) |
已过时.
添加并可选配置单例 |
| AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>) |
已过时.
添加 作为 BotFrameworkAdapterIAdapterIntegration ,集成层将用于处理机器人请求。 |