你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceClient<T>.InitializeHttpClient 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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[]