ServiceCollectionExtensions Klasse

Definition

Achtung

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

Eine Reihe von ErweiterungsmethodenIServiceCollection, die Unterstützung für das Hosting von Bots mit .NET Core bieten.

[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
Vererbung
ServiceCollectionExtensions
Attribute

Methoden

Name Beschreibung
AddBot<TBot>(IServiceCollection, Action<BotFrameworkOptions>)
Veraltet.

Addiert und konfiguriert optional a TBot zum .IServiceCollection

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

Addiert und konfiguriert optional a TBot zum .IServiceCollection

AddBot<TBot>(IServiceCollection, TBot, Action<BotFrameworkOptions>)
Veraltet.

Fügt eine Singleton-Instanz bot hinzu und konfiguriert optional eine Instanz zum IServiceCollection.

AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>)
Veraltet.

Fügt die BotFrameworkAdapter als die IAdapterIntegration hinzu, die von der Integrationsschicht für die Verarbeitung von Bot-Anfragen verwendet werden.

Gilt für:

Weitere Informationen