次の方法で共有


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

を 追加し、必要に応じて を に構成 TBot します IServiceCollection

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

を 追加し、必要に応じて を に構成 TBot します IServiceCollection

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

シングルトン bot インスタンス IServiceCollectionを に追加し、必要に応じて を構成します。

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

ボット要求をBotFrameworkAdapterIAdapterIntegration処理するために統合レイヤーによって使用される として を追加します。

適用対象

こちらもご覧ください