你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceClient<T>.InitializeHttpClient 方法

定义

重载

InitializeHttpClient(HttpClientHandler, DelegatingHandler[])
InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[])

InitializeHttpClient(HttpClientHandler, DelegatingHandler[])

protected void InitializeHttpClient (System.Net.Http.HttpClientHandler httpClientHandler, params System.Net.Http.DelegatingHandler[] handlers);
member this.InitializeHttpClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> unit
Protected Sub InitializeHttpClient (httpClientHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

参数

httpClientHandler
HttpClientHandler
handlers
DelegatingHandler[]

适用于

InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[])

protected void InitializeHttpClient (System.Net.Http.HttpClient httpClient, System.Net.Http.HttpClientHandler httpClientHandler, params System.Net.Http.DelegatingHandler[] handlers);
member this.InitializeHttpClient : System.Net.Http.HttpClient * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> unit
Protected Sub InitializeHttpClient (httpClient As HttpClient, httpClientHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

参数

httpClient
HttpClient
httpClientHandler
HttpClientHandler
handlers
DelegatingHandler[]

适用于