Sdílet prostřednictvím


BotFrameworkHttpClient Konstruktor

Definice

Inicializuje novou instanci BotFrameworkHttpClient třídy.

public BotFrameworkHttpClient (System.Net.Http.HttpClient httpClient, Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Integration.AspNet.Core.BotFrameworkHttpClient : System.Net.Http.HttpClient * Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Integration.AspNet.Core.BotFrameworkHttpClient
Public Sub New (httpClient As HttpClient, credentialProvider As ICredentialProvider, Optional channelProvider As IChannelProvider = Nothing, Optional logger As ILogger = Nothing)

Parametry

httpClient
HttpClient

Úloha HttpClient.

credentialProvider
ICredentialProvider

Instance objektu ICredentialProvider.

channelProvider
IChannelProvider

Instance objektu IChannelProvider.

logger
ILogger

Instance objektu ILogger.

Platí pro