BotFrameworkConfigurationBuilder.UseHttpClient(HttpClient) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Sätter instansen HttpClient som ska användas för att göra Bot Framework Service-anrop.
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
Parametrar
- httpClient
- HttpClient
De HttpClient ska användas när man anropar Bot Framework Service.
Returer
BotFrameworkConfigurationBuilder instans med mängden HttpClient .