SkillHttpClient Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe SkillHttpClient.
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)
Paramètres
- httpClient
- HttpClient
A HttpClient.
- credentialProvider
- ICredentialProvider
Instance de ICredentialProvider.
- conversationIdFactory
- SkillConversationIdFactoryBase
Instance d’une classe dérivée de SkillConversationIdFactoryBase.
- channelProvider
- IChannelProvider
Instance de IChannelProvider.