Freigeben über


BotFrameworkConfigurationBuilder.UseHttpClient(HttpClient) Methode

Definition

Legt die HttpClient Instanz fest, die zum Ausführen von Bot Framework Service-Aufrufen 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

Der HttpClient , der beim Aufrufen des Bot Framework-Diensts verwendet werden soll.

Gibt zurück

BotFrameworkConfigurationBuilder -Instanz mit dem HttpClient Satz.

Gilt für: