共用方式為


ServiceClient<T>.InitializeHttpClient Method

Definition

Overloads

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())

Parameters

httpClientHandler
HttpClientHandler
handlers
DelegatingHandler[]

Applies to

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())

Parameters

httpClient
HttpClient
httpClientHandler
HttpClientHandler
handlers
DelegatingHandler[]

Applies to