Sdílet prostřednictvím


BotFrameworkHttpAdapter Konstruktory

Definice

Přetížení

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapter>)

Inicializuje novou instanci BotFrameworkHttpAdapter třídy .

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapter>)

Inicializuje novou instanci BotFrameworkHttpAdapter třídy .

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapter>)

Inicializuje novou instanci BotFrameworkHttpAdapter třídy .

public BotFrameworkHttpAdapter(Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider = default, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider = default, Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter> logger = default);
new Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter> -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter
Public Sub New (Optional credentialProvider As ICredentialProvider = Nothing, Optional channelProvider As IChannelProvider = Nothing, Optional logger As ILogger(Of BotFrameworkHttpAdapter) = Nothing)

Parametry

credentialProvider
ICredentialProvider

Zprostředkovatel přihlašovacích údajů.

channelProvider
IChannelProvider

Poskytovatel kanálu.

logger
ILogger<BotFrameworkHttpAdapter>

Implementace ILoggeru, který by měl tento adaptér používat.

Platí pro

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, HttpClient, ILogger<BotFrameworkHttpAdapter>)

Inicializuje novou instanci BotFrameworkHttpAdapter třídy .

public BotFrameworkHttpAdapter(Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider, System.Net.Http.HttpClient httpClient, Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter> logger);
new Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter : Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter> -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkHttpAdapter
Public Sub New (credentialProvider As ICredentialProvider, channelProvider As IChannelProvider, httpClient As HttpClient, logger As ILogger(Of BotFrameworkHttpAdapter))

Parametry

credentialProvider
ICredentialProvider

Zprostředkovatel přihlašovacích údajů.

channelProvider
IChannelProvider

Poskytovatel kanálu.

httpClient
HttpClient

Použitý HttpClient .

logger
ILogger<BotFrameworkHttpAdapter>

Implementace ILoggeru, který by měl tento adaptér používat.

Platí pro