Delen via


BotFrameworkConfigurationBuilder.UseHttpClient(HttpClient) Methode

Definitie

Hiermee stelt u het exemplaar in HttpClient dat wordt gebruikt om Bot Framework Service-aanroepen te doen.

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

Parameters

httpClient
HttpClient

De HttpClient die moet worden gebruikt bij het aanroepen van de Bot Framework-service.

Retouren

BotFrameworkConfigurationBuilder instantie met de HttpClient set.

Van toepassing op