ServiceCollectionExtensions クラス

定義

注意事項

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

.NET CoreでホストボットをサポートするIServiceCollection拡張メソッドのセットです。

[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>)
古い.

IServiceCollectionに追加およびオプションでTBot設定を行います。

AddBot<TBot>(IServiceCollection, Func<IServiceProvider,TBot>, Action<BotFrameworkOptions>)
古い.

IServiceCollectionに追加およびオプションでTBot設定を行います。

AddBot<TBot>(IServiceCollection, TBot, Action<BotFrameworkOptions>)
古い.

シングルトンの bot インスタンスを追加し、オプションで IServiceCollectionに設定します。

AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>)
古い.

統合レイヤーがボットのリクエストを処理するために使うIAdapterIntegrationとして、BotFrameworkAdapterを追加します。

適用対象

こちらもご覧ください