Condividi tramite


BotFrameworkHttpAdapter Costruttori

Definizione

Overload

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapter>)

Inizializza una nuova istanza della classe BotFrameworkHttpAdapter.

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

Inizializza una nuova istanza della classe BotFrameworkHttpAdapter.

BotFrameworkHttpAdapter(ICredentialProvider, IChannelProvider, ILogger<BotFrameworkHttpAdapter>)

Inizializza una nuova istanza della classe BotFrameworkHttpAdapter.

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)

Parametri

credentialProvider
ICredentialProvider

Provider di credenziali.

channelProvider
IChannelProvider

Provider di canali.

logger
ILogger<BotFrameworkHttpAdapter>

L'implementazione di ILogger che deve essere usata dall'adattatore.

Si applica a

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

Inizializza una nuova istanza della classe BotFrameworkHttpAdapter.

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))

Parametri

credentialProvider
ICredentialProvider

Provider di credenziali.

channelProvider
IChannelProvider

Provider di canali.

httpClient
HttpClient

Oggetto HttpClient utilizzato.

logger
ILogger<BotFrameworkHttpAdapter>

L'implementazione di ILogger che deve essere usata dall'adattatore.

Si applica a