Freigeben über


SkillHttpClient Konstruktor

Definition

Initialisiert eine neue Instanz der SkillHttpClient-Klasse.

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

Parameter

httpClient
HttpClient

Ein HttpClient.

credentialProvider
ICredentialProvider

Eine Instanz von ICredentialProvider.

conversationIdFactory
SkillConversationIdFactoryBase

Eine Instanz einer Klasse, die von abgeleitet wird SkillConversationIdFactoryBase.

channelProvider
IChannelProvider

Eine Instanz von IChannelProvider.

logger
ILogger

Eine Instanz von ILogger.

Gilt für: