ServiceCollectionExtensions.AddBotFrameworkAdapterIntegration メソッド

定義

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

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddBotFrameworkAdapterIntegration(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Bot.Builder.Integration.BotFrameworkOptions> configureAction = default);
static member AddBotFrameworkAdapterIntegration : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Bot.Builder.Integration.BotFrameworkOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddBotFrameworkAdapterIntegration (services As IServiceCollection, Optional configureAction As Action(Of BotFrameworkOptions) = Nothing) As IServiceCollection

パラメーター

configureAction
Action<BotFrameworkOptions>

オプションのコールバック機能が提供されれば、統合のさらなる設定のために呼び出されます。

返品

操作が完了した後のこのインスタンスへの参照。

注釈

BotFrameworkAdapterシングルトンとして登録されます。

注意:servicesコレクションに明示的なIAdapterIntegrationが登録されていない場合、AddBotオーバーロードを呼び出すと暗黙的に登録しようとします。

適用対象

こちらもご覧ください