Sprache

BotFrameworkConfigurationBuilder.UseHttpClient(HttpClient) Methode

Definition

Legt die HttpClient Instanz fest, die für Bot-Framework-Serviceaufrufe verwendet wird.

public Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder UseHttpClient(System.Net.Http.HttpClient httpClient);
member this.UseHttpClient : System.Net.Http.HttpClient -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder
Public Function UseHttpClient (httpClient As HttpClient) As BotFrameworkConfigurationBuilder

Parameter

httpClient
HttpClient

Diese HttpClient werden beim Aufruf des Bot-Framework-Dienstes verwendet.

Gibt zurück

BotFrameworkConfigurationBuilder Instanz mit dem HttpClient Set.

Gilt für: