Język

CloudAdapter Konstruktory

Definicja

Przeciążenia

Nazwa Opis
CloudAdapter()

Inicjuje nowe wystąpienie klasy CloudAdapter. (Chmura publiczna. Brak autoryzacji. Do testów.)

CloudAdapter(BotFrameworkAuthentication, ILogger)

Inicjuje nowe wystąpienie klasy CloudAdapter.

CloudAdapter(IConfiguration, IHttpClientFactory, ILogger)

Inicjuje nowe wystąpienie klasy CloudAdapter.

CloudAdapter()

Inicjuje nowe wystąpienie klasy CloudAdapter. (Chmura publiczna. Brak autoryzacji. Do testów.)

public CloudAdapter();
Public Sub New ()

Dotyczy

CloudAdapter(BotFrameworkAuthentication, ILogger)

Inicjuje nowe wystąpienie klasy CloudAdapter.

public CloudAdapter(Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication botFrameworkAuthentication, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Integration.AspNet.Core.CloudAdapter : Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Integration.AspNet.Core.CloudAdapter
Public Sub New (botFrameworkAuthentication As BotFrameworkAuthentication, Optional logger As ILogger = Nothing)

Parametry

botFrameworkAuthentication
BotFrameworkAuthentication

Ten BotFrameworkAuthentication adapter powinien się użyć.

logger
ILogger

Implementacja, którą ILogger powinien stosować ten adapter.

Dotyczy

CloudAdapter(IConfiguration, IHttpClientFactory, ILogger)

Inicjuje nowe wystąpienie klasy CloudAdapter.

public CloudAdapter(Microsoft.Extensions.Configuration.IConfiguration configuration, System.Net.Http.IHttpClientFactory httpClientFactory = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Integration.AspNet.Core.CloudAdapter : Microsoft.Extensions.Configuration.IConfiguration * System.Net.Http.IHttpClientFactory * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Integration.AspNet.Core.CloudAdapter
Public Sub New (configuration As IConfiguration, Optional httpClientFactory As IHttpClientFactory = Nothing, Optional logger As ILogger = Nothing)

Parametry

configuration
IConfiguration

Instancja IConfiguration.

httpClientFactory
IHttpClientFactory

Ten IHttpClientFactory adapter powinien się użyć.

logger
ILogger

Implementacja, którą ILogger powinien stosować ten adapter.

Dotyczy