HttpClientFactoryExtensions.CreateClient(IHttpClientFactory) 메서드

정의

기본 구성을 사용하여 새 HttpClient를 만듭니다.Creates a new HttpClient using the default configuration.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Net::Http::HttpClient ^ CreateClient(System::Net::Http::IHttpClientFactory ^ factory);
public static System.Net.Http.HttpClient CreateClient (this System.Net.Http.IHttpClientFactory factory);
static member CreateClient : System.Net.Http.IHttpClientFactory -> System.Net.Http.HttpClient
<Extension()>
Public Function CreateClient (factory As IHttpClientFactory) As HttpClient

매개 변수

반환

기본 구성을 사용하여 구성된 HttpClient입니다.An HttpClient configured using the default configuration.

적용 대상